diff options
author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-29 21:47:55 +0100 |
---|---|---|
committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-29 21:48:58 +0100 |
commit | 34a215d5066f8ae0629070916714801b0ea03eab (patch) | |
tree | c56d1fd107828a9c9d09a243b914237f21a37d0c /tests/app_loading | |
parent | e5bcd1d455cd11d3892adf6717a51ae04169f705 (diff) | |
download | django-34a215d5066f8ae0629070916714801b0ea03eab.tar.gz |
Deprecated the app argument of apps.get_models.
Use app_config.get_models() instead.
Diffstat (limited to 'tests/app_loading')
-rw-r--r-- | tests/app_loading/tests.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/app_loading/tests.py b/tests/app_loading/tests.py index 5219b5315d..46c5955c53 100644 --- a/tests/app_loading/tests.py +++ b/tests/app_loading/tests.py @@ -79,6 +79,3 @@ class GetModelsTest(TestCase): self.assertNotIn( "NotInstalledModel", [m.__name__ for m in apps.get_models()]) - - def test_get_models_with_app_label_only_returns_installed_models(self): - self.assertEqual(apps.get_models(self.not_installed_module), []) |