summaryrefslogtreecommitdiff
path: root/tests/app_loading/tests.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-10-17 17:58:14 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-10-17 17:58:14 -0700
commit65750b83523870851008e804364121f8c458fc2d (patch)
tree4fc24535f85f84c69e64c6eac654294725d906df /tests/app_loading/tests.py
parent65d1d65d52a87bba22845bcb7c3c921a8789ec19 (diff)
parentbab9123daa5d05150951f74183906a76d2b0cf27 (diff)
Merge pull request #1768 from alasdairnicol/ticket_21268
Fixed #21268 -- Fixed E303 pep8 warnings
Diffstat (limited to 'tests/app_loading/tests.py')
-rw-r--r--tests/app_loading/tests.py5
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 [