mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #24776 -- Improved apps.get_app_config() error message on fully-qualified package names.
This commit is contained in:
committed by
Tim Graham
parent
70faaccc3e
commit
0688a7946a
2
tests/fixtures/tests.py
vendored
2
tests/fixtures/tests.py
vendored
@@ -216,7 +216,7 @@ class FixtureLoadingTests(DumpDataAssertMixin, TestCase):
|
||||
|
||||
# Excluding a bogus app should throw an error
|
||||
with six.assertRaisesRegex(self, management.CommandError,
|
||||
"Unknown app in excludes: foo_app"):
|
||||
"No installed app with label 'foo_app'."):
|
||||
self._dumpdata_assert(['fixtures', 'sites'], '', exclude_list=['foo_app'])
|
||||
|
||||
# Excluding a bogus model should throw an error
|
||||
|
||||
Reference in New Issue
Block a user