diff options
Diffstat (limited to 'tests/app_loading/tests.py')
| -rw-r--r-- | tests/app_loading/tests.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/app_loading/tests.py b/tests/app_loading/tests.py index dc25899646..1c2502bbcf 100644 --- a/tests/app_loading/tests.py +++ b/tests/app_loading/tests.py @@ -96,29 +96,24 @@ class GetModelsTest(TestCase): from .not_installed import models self.not_installed_module = models - def test_get_model_only_returns_installed_models(self): self.assertEqual( get_model("not_installed", "NotInstalledModel"), None) - def test_get_model_with_not_installed(self): self.assertEqual( get_model( "not_installed", "NotInstalledModel", only_installed=False), self.not_installed_module.NotInstalledModel) - def test_get_models_only_returns_installed_models(self): self.assertFalse( "NotInstalledModel" in [m.__name__ for m in get_models()]) - def test_get_models_with_app_label_only_returns_installed_models(self): self.assertEqual(get_models(self.not_installed_module), []) - def test_get_models_with_not_installed(self): self.assertTrue( "NotInstalledModel" in [ |
