Mercurial > public > bravenewsurf
view bns_website/reviews/tests.py @ 75:b4c5b04c4209
Fix some validation problems (extra </div>, "px" in image size & width). Made the headlines bigger.
Ferenc didn't want the track listing centered over the 2 columns.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 23 Nov 2011 21:14:49 -0600 |
parents | 5992b6b1bcd2 |
children |
line wrap: on
line source
""" Reviews application view tests. """ from django.test import TestCase from django.core.urlresolvers import reverse class ViewTest(TestCase): def test_reviews_list(self): """ Tests the reviews page to ensure it displays without errors. """ response = self.client.get(reverse('reviews')) self.assertEqual(response.status_code, 200) self.assertTemplateUsed(response, 'reviews/review_list.html')