diff options
| author | Marti Raudsepp <marti@juffo.org> | 2016-11-09 00:43:48 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-11-08 17:43:48 -0500 |
| commit | b9eb267c46cac4f20634b57d25a4ccbc115d6892 (patch) | |
| tree | 525948658dcbe9d0407620029d5e788a4ad5296e | |
| parent | dacef9137f43fff88b527d1c02f6fe6a81e975aa (diff) | |
Skipped makemessages -l tests when xgettext isn't installed.
| -rw-r--r-- | tests/i18n/test_extraction.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/i18n/test_extraction.py b/tests/i18n/test_extraction.py index 40ccc822d7..414e311db5 100644 --- a/tests/i18n/test_extraction.py +++ b/tests/i18n/test_extraction.py @@ -717,6 +717,7 @@ class CustomLayoutExtractionTests(ExtractorTests): self.assertMsgId('This app has a locale directory', po_contents) +@skipUnless(has_xgettext, 'xgettext is mandatory for extraction tests') class NoSettingsExtractionTests(AdminScriptTestCase): def test_makemessages_no_settings(self): out, err = self.run_django_admin(['makemessages', '-l', 'en', '-v', '0']) |
