mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Deprecated load_app().
Adjusted several tests that used it to add apps to the app cache and then attempted to remove them by manipulating attributes directly. Also renamed invalid_models to invalid_models_tests to avoid clashing application labels between the outer and the inner invalid_models applications.
This commit is contained in:
parent
439b364e1e
commit
f25fa9d859
10 changed files with 47 additions and 64 deletions
|
@ -1094,7 +1094,7 @@ class ManageValidate(AdminScriptTestCase):
|
|||
self.assertOutput(err, 'ImportError')
|
||||
|
||||
def test_complex_app(self):
|
||||
"manage.py validate does not raise an ImportError validating a complex app with nested calls to load_app"
|
||||
"manage.py validate does not raise an ImportError validating a complex app"
|
||||
self.write_settings('settings.py',
|
||||
apps=['admin_scripts.complex_app', 'admin_scripts.simple_app'],
|
||||
sdict={'DEBUG': True})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue