Use /cms in digitalglarus.test_views.ViewsTest
This commit is contained in:
parent
4d68f3bcbe
commit
1dc5bb9bc8
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class ViewsTest(CMSTestCase):
|
||||||
def test_digitalglarus_templates(self):
|
def test_digitalglarus_templates(self):
|
||||||
res1 = self.client.get('/en-us/')
|
res1 = self.client.get('/en-us/')
|
||||||
self.assertContains(res1, 'Digital Glarus', status_code=200)
|
self.assertContains(res1, 'Digital Glarus', status_code=200)
|
||||||
res2 = self.client.get('/en-us/about/')
|
res2 = self.client.get('/en-us/cms/about/')
|
||||||
self.assertEqual(res2.status_code, 200)
|
self.assertEqual(res2.status_code, 200)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue