##// END OF EJS Templates
tests: fix failures due to environment LANG settings (Issue #286)...
Thomas De Schampheleire -
r6694:c20abcf4 default
parent child Browse files
Show More
@@ -4,6 +4,7 b' import logging'
4 import pkg_resources
4 import pkg_resources
5 import time
5 import time
6
6
7 import formencode
7 from paste.deploy import loadwsgi
8 from paste.deploy import loadwsgi
8 from routes.util import URLGenerator
9 from routes.util import URLGenerator
9 import pytest
10 import pytest
@@ -57,6 +58,8 b' def pytest_configure():'
57
58
58 kallithea.tests.base.url = URLGenerator(RootController().mapper, {'HTTP_HOST': 'example.com'})
59 kallithea.tests.base.url = URLGenerator(RootController().mapper, {'HTTP_HOST': 'example.com'})
59
60
61 # set fixed language for form messages, regardless of environment settings
62 formencode.api.set_stdtranslation(languages=[])
60
63
61 @pytest.fixture
64 @pytest.fixture
62 def create_test_user():
65 def create_test_user():
General Comments 0
You need to be logged in to leave comments. Login now