Browse files

Fixed test

  • Loading branch information...
1 parent 86a1eeb commit 96585f14bb7ce1e8165ac3a04871c873446c1f09 @yakky yakky committed Jun 28, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 cms/tests/apphooks.py
View
8 cms/tests/apphooks.py
@@ -156,25 +156,25 @@ def test_include_urlconf(self):
path = reverse('extra_first')
response = self.client.get(path)
self.assertEquals(response.status_code, 200)
- self.assertTemplateUsed(response, 'sampleapp/home.html')
+ self.assertTemplateUsed(response, 'sampleapp/extra.html')
self.assertContains(response, "test urlconf")
path = reverse('extra_second')
response = self.client.get(path)
self.assertEquals(response.status_code, 200)
- self.assertTemplateUsed(response, 'sampleapp/home.html')
+ self.assertTemplateUsed(response, 'sampleapp/extra.html')
self.assertContains(response, "test included urlconf")
path = reverse('de:extra_first')
response = self.client.get(path)
self.assertEquals(response.status_code, 200)
- self.assertTemplateUsed(response, 'sampleapp/home.html')
+ self.assertTemplateUsed(response, 'sampleapp/extra.html')
self.assertContains(response, "test urlconf")
path = reverse('de:extra_second')
response = self.client.get(path)
self.assertEquals(response.status_code, 200)
- self.assertTemplateUsed(response, 'sampleapp/home.html')
+ self.assertTemplateUsed(response, 'sampleapp/extra.html')
self.assertContains(response, "test included urlconf")
apphook_pool.clear()

0 comments on commit 96585f1

Please sign in to comment.