Fix test
This commit is contained in:
parent
7122cddbb9
commit
015447ccc3
1 changed files with 2 additions and 2 deletions
|
@ -292,7 +292,7 @@ class ModelsTest(BaseTest):
|
|||
url_en = reverse(
|
||||
'%s:post-detail' % self.app_config_1.namespace,
|
||||
kwargs=kwargs,
|
||||
current_app=self.app_config_1
|
||||
current_app=self.app_config_1.namespace
|
||||
)
|
||||
self.assertEqual(url_en, post.get_absolute_url())
|
||||
|
||||
|
@ -305,7 +305,7 @@ class ModelsTest(BaseTest):
|
|||
url_it = reverse(
|
||||
'%s:post-detail' % self.app_config_1.namespace,
|
||||
kwargs=kwargs,
|
||||
current_app=self.app_config_1
|
||||
current_app=self.app_config_1.namespace
|
||||
)
|
||||
self.assertEqual(url_it, post.get_absolute_url())
|
||||
self.assertNotEqual(url_it, url_en)
|
||||
|
|
Loading…
Reference in a new issue