Changed some texts

This commit is contained in:
Raphael Michel
2015-06-21 21:19:51 +02:00
parent fa94d17d74
commit d6d63f826f
3 changed files with 83 additions and 62 deletions

View File

@@ -10,5 +10,7 @@ def test_site_url_domain():
def test_site_url_subpath():
settings.SITE_URL = 'https://example.com/presale'
old_prefix = urlresolvers.get_script_prefix()
urlresolvers.set_script_prefix('/presale/')
assert build_absolute_uri('control:auth.login') == 'https://example.com/presale/control/login'
urlresolvers.set_script_prefix(old_prefix)