bob@14: """ bob@42: News Tests bob@14: """ bob@14: bob@14: from django.test import TestCase bob@42: from django.core.urlresolvers import reverse bob@14: bob@14: bob@14: class SimpleTest(TestCase): bob@42: def test_news_list(self): bob@42: response = self.client.get(reverse('news')) bob@42: self.assertEqual(response.status_code, 200) bob@42: self.assertTemplateUsed(response, 'news/news_list.html')