comparison bns_website/bands/tests/view_tests.py @ 35:5992b6b1bcd2

Fix out of date comments and test names in bands and reviews.
author Brian Neal <bgneal@gmail.com>
date Sun, 06 Nov 2011 13:55:16 -0600
parents 48ff23eab86a
children
comparison
equal deleted inserted replaced
34:37d9b6b1a097 35:5992b6b1bcd2
6 from django.core.urlresolvers import reverse 6 from django.core.urlresolvers import reverse
7 7
8 8
9 class ViewTest(TestCase): 9 class ViewTest(TestCase):
10 10
11 def test_home(self): 11 def test_bands(self):
12 """ 12 """
13 Tests the home page to ensure it displays without errors. 13 Tests the bands page to ensure it displays without errors.
14 14
15 """ 15 """
16 response = self.client.get(reverse('bands')) 16 response = self.client.get(reverse('bands'))
17 self.assertEqual(response.status_code, 200) 17 self.assertEqual(response.status_code, 200)
18 self.assertTemplateUsed(response, 'bands/band_list.html') 18 self.assertTemplateUsed(response, 'bands/band_list.html')