ckridgway@16: """ ckridgway@34: Reviews application view tests. ckridgway@16: ckridgway@16: """ ckridgway@34: from django.test import TestCase ckridgway@34: from django.core.urlresolvers import reverse ckridgway@16: ckridgway@16: ckridgway@34: class ViewTest(TestCase): ckridgway@16: bgneal@35: def test_reviews_list(self): ckridgway@16: """ bgneal@35: Tests the reviews page to ensure it displays without errors. ckridgway@34: ckridgway@16: """ ckridgway@34: response = self.client.get(reverse('reviews')) ckridgway@34: self.assertEqual(response.status_code, 200) ckridgway@34: self.assertTemplateUsed(response, 'reviews/review_list.html')