[issue2551200] Latest language tests in test_liveserver fail for me
Ralf Schlatterbeck <[email protected]> Mon, 02 May 2022 09:31:58 +0000
| Newsgroups | gmane.comp.bug-tracking.roundup.devel |
|---|---|
| Message-ID | <[email protected]> |
New submission from Ralf Schlatterbeck: The latest tests for german locale in test/test_liveserver.py fail for me. Looks like the computed LOCALE_DIRS in roundup/i18n.py does not find the locale of the checked-out directory. I have the roundup checkout I'm testing with in /nobackup/ralf/checkout/sourceforge/roundup.hg.tip and LOCALE_DIRS contains: (Pdb) p LOCALE_DIRS ['/usr/share/locale', '/nobackup/ralf/share/locale'] This results in all mofiles being None and the translator being set to the NullTranslator. Note that when searching in LOCALE_DIRS the domain is set to 'roundup' and on that system no roundup locales are installed in /usr/share. Any Idea on how to improve this? The regression tests should find the .mo files in the checked out directory and *not* in the installed roundup installation. I'm wondering why this works in the online regression-test framework? This bit me when testing Marcus' modifications until I noticed that the test breaks without his changes, too. ---------- messages: 7481 nosy: marcus.priesch, rouilj, schlatterbeck severity: normal status: new title: Latest language tests in test_liveserver fail for me _________________________________________________ Roundup tracker <[email protected]> <https://issues.roundup-tracker.org/issue2551200> _________________________________________________