Issue #286: tests broken with German language settings
Reported by: | domruf |
State: | resolved |
Created on: | 2017-07-05 17:23 |
Updated on: | 2017-07-06 17:39 |
Description
The recent i18n fixes seem to have broken some tests if LANG=de_DE.UTF-8.
i.e. test_create_on_top_level_without_permissions
contains
response.mustcontain('<span class="error-message">Invalid value</span>')
Since I don't know how to translate strings in pytest I create this issue.
BTW using 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")
Attachments
Comments
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