From bab9123daa5d05150951f74183906a76d2b0cf27 Mon Sep 17 00:00:00 2001 From: Alasdair Nicol Date: Fri, 18 Oct 2013 00:58:02 +0100 Subject: Fixed #21268 -- Fixed E303 pep8 warnings --- tests/app_loading/tests.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests/app_loading') 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 [ -- cgit v1.3