mirror of https://github.com/django/django.git
Skipped makemessages -l tests when xgettext isn't installed.
This commit is contained in:
parent
dacef9137f
commit
b9eb267c46
|
@ -717,6 +717,7 @@ class CustomLayoutExtractionTests(ExtractorTests):
|
||||||
self.assertMsgId('This app has a locale directory', po_contents)
|
self.assertMsgId('This app has a locale directory', po_contents)
|
||||||
|
|
||||||
|
|
||||||
|
@skipUnless(has_xgettext, 'xgettext is mandatory for extraction tests')
|
||||||
class NoSettingsExtractionTests(AdminScriptTestCase):
|
class NoSettingsExtractionTests(AdminScriptTestCase):
|
||||||
def test_makemessages_no_settings(self):
|
def test_makemessages_no_settings(self):
|
||||||
out, err = self.run_django_admin(['makemessages', '-l', 'en', '-v', '0'])
|
out, err = self.run_django_admin(['makemessages', '-l', 'en', '-v', '0'])
|
||||||
|
|
Loading…
Reference in New Issue