CKAN Version if known (or site URL)
2.6.0a
Please describe the expected behaviour
All the tests on master pass
Please describe the actual behaviour
Two tests in /ckan/tests/legacy/lib/test_navl.py are failing. Output:
..........FF
======================================================================
FAIL: ckan.tests.legacy.lib.test_navl.test_formencode_compat
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/knut/.virtualenvs/ckan/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/knut/viderum/ckan/ckan/tests/legacy/lib/test_navl.py", line 334, in test_formencode_compat
assert errors == {'email': [u'An email address must contain a single @']}, errors
AssertionError: {'email': [u'Eine E-Mail-Adresse muss genau ein @-Zeichen enthalten']}
======================================================================
FAIL: ckan.tests.legacy.lib.test_navl.test_range_validator
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/knut/.virtualenvs/ckan/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/knut/viderum/ckan/ckan/tests/legacy/lib/test_navl.py", line 350, in test_range_validator
assert errors == {'name': [u'Missing value'], 'email': [u'Please enter a number that is 10 or smaller']}, errors
AssertionError: {'email': [u'Bitte geben Sie eine Zahl ein, die kleiner oder gleich 10 ist'], 'name': [u'Missing value']}
When run with LANG set to en_US.UTF-8 the tests pass:
user@host:$ LANG="en_US.UTF-8" nosetests --ckan --with-pylons=test-core.ini ckan/tests/legacy/lib/test_navl.py
............
----------------------------------------------------------------------
Ran 12 tests in 0.005s
OK
What steps can be taken to reproduce the issue?
Run the tests with a non English LANG:
LANG="de_DE.UTF-8" nosetests --ckan --with-pylons=test-core.ini ckan/tests/legacy/lib/test_navl.py
CKAN Version if known (or site URL)
2.6.0a
Please describe the expected behaviour
All the tests on master pass
Please describe the actual behaviour
Two tests in
/ckan/tests/legacy/lib/test_navl.pyare failing. Output:When run with
LANGset toen_US.UTF-8the tests pass:What steps can be taken to reproduce the issue?
Run the tests with a non English
LANG: