Skip to content
This repository
Browse code

Fixed test

  • Loading branch information...
commit 96585f14bb7ce1e8165ac3a04871c873446c1f09 1 parent 86a1eeb
Iacopo Spalletti yakky authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +4 4 cms/tests/apphooks.py
8 cms/tests/apphooks.py
@@ -156,25 +156,25 @@ def test_include_urlconf(self):
156 156 path = reverse('extra_first')
157 157 response = self.client.get(path)
158 158 self.assertEquals(response.status_code, 200)
159   - self.assertTemplateUsed(response, 'sampleapp/home.html')
  159 + self.assertTemplateUsed(response, 'sampleapp/extra.html')
160 160 self.assertContains(response, "test urlconf")
161 161
162 162 path = reverse('extra_second')
163 163 response = self.client.get(path)
164 164 self.assertEquals(response.status_code, 200)
165   - self.assertTemplateUsed(response, 'sampleapp/home.html')
  165 + self.assertTemplateUsed(response, 'sampleapp/extra.html')
166 166 self.assertContains(response, "test included urlconf")
167 167
168 168 path = reverse('de:extra_first')
169 169 response = self.client.get(path)
170 170 self.assertEquals(response.status_code, 200)
171   - self.assertTemplateUsed(response, 'sampleapp/home.html')
  171 + self.assertTemplateUsed(response, 'sampleapp/extra.html')
172 172 self.assertContains(response, "test urlconf")
173 173
174 174 path = reverse('de:extra_second')
175 175 response = self.client.get(path)
176 176 self.assertEquals(response.status_code, 200)
177   - self.assertTemplateUsed(response, 'sampleapp/home.html')
  177 + self.assertTemplateUsed(response, 'sampleapp/extra.html')
178 178 self.assertContains(response, "test included urlconf")
179 179
180 180 apphook_pool.clear()

0 comments on commit 96585f1

Please sign in to comment.
Something went wrong with that request. Please try again.