From 015447ccc3aba40a1fbe7f6a68697c0c32c1c1e6 Mon Sep 17 00:00:00 2001 From: Iacopo Spalletti Date: Thu, 25 Feb 2016 09:11:15 +0100 Subject: [PATCH] Fix test --- tests/test_models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_models.py b/tests/test_models.py index 689e2ae..5b28745 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -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)