Issue #286: tests broken with German language settings
|Created on:||2017-07-05 17:23|
|Updated on:||2017-07-06 17:39|
The recent i18n fixes seem to have broken some tests if LANG=de_DE.UTF-8.
response.mustcontain('<span class="error-message">Invalid value</span>')
Since I don't know how to translate strings in pytest I create this issue.
with test_context(self.app): still results in
TypeError: No object (name: context) has been registered for this thread when trying to use
_("Text to translate")
Comment by Thomas De Schampheleire, on 2017-07-05 19:22
thanks for reporting, I confirm the behavior and have sent a fix to the mailing list.
Comment by Thomas De Schampheleire, on 2017-07-06 17:39
Problem resolved with commit c20abcf4adb9