stephenmcd/mezzanine — pull request #1173 by wrwrwr (2014-12-08 11:09:35+00:00)
Title: Fixed two test that were failing with a i18n setup

With a fresh project, if you switch ``USE_I18N`` on in ``settings.py``, ``test_login_required`` fails as it expects redirection without a prefix and does not handle ``next`` encoding (which also contains a prefix and slashes).

If you further change ``patterns`` to ``i18n_patterns`` in the project's ``urls.py``, ``test_password_reset`` fails as the link in the password reset email contains a language prefix.