Django test suite does not run if gettext not installed
|Reported by:||Jim Dalton||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Converts the import of commands.tests in regression_tests/i18n from a * import to an explicit list.
The problem is that those tests are conditionally imported in commands.tests based on whether the user has certain commands installed on their command line (xgettext and msgfmt to be exact). If those commands are not installed, the tests aren't loaded and the import in the main i18n.tests file fails. The result is that it's not possible to run the test suite:
Easy fix is convert this line back to a * import. Better fix is....??? I'll think about it.
Change History (6)
comment:2 Changed 6 years ago by
|Severity:||Normal → Release blocker|
|Triage Stage:||Unreviewed → Accepted|
|Type:||Uncategorized → Bug|