From b9eb267c46cac4f20634b57d25a4ccbc115d6892 Mon Sep 17 00:00:00 2001 From: Marti Raudsepp Date: Wed, 9 Nov 2016 00:43:48 +0200 Subject: [PATCH] Skipped makemessages -l tests when xgettext isn't installed. --- tests/i18n/test_extraction.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/i18n/test_extraction.py b/tests/i18n/test_extraction.py index 40ccc822d7d..414e311db5d 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'])