diff options
| author | Claude Paroz <claude@2xlibre.net> | 2014-10-27 09:35:01 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2014-10-27 13:56:25 +0100 |
| commit | 528c9af5436814f60e88c9d31c991d72f7ea7fbc (patch) | |
| tree | 05cf1493d4ae8a8a80b4b51e15f9905eb306a8b0 /tests | |
| parent | d4bc0bf435402f32d1e31aeffd280276349283d8 (diff) | |
Fixed #23717 -- Fixed makemessages crash when STATIC_ROOT=None
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/i18n/test_extraction.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/i18n/test_extraction.py b/tests/i18n/test_extraction.py index c0c03ee506..cee3c220c8 100644 --- a/tests/i18n/test_extraction.py +++ b/tests/i18n/test_extraction.py @@ -376,6 +376,14 @@ class JavascriptExtractorTests(ExtractorTests): self.assertMsgId("Static content inside app should be included.", po_contents) self.assertNotMsgId("Content from STATIC_ROOT should not be included", po_contents) + @override_settings(STATIC_ROOT=None, MEDIA_ROOT='') + def test_default_root_settings(self): + """ + Regression test for #23717. + """ + _, po_contents = self._run_makemessages(domain='djangojs') + self.assertMsgId("Static content inside app should be included.", po_contents) + class IgnoredExtractorTests(ExtractorTests): |
