summaryrefslogtreecommitdiff
path: root/tests/app_loading
diff options
context:
space:
mode:
authorAlasdair Nicol <alasdair@memset.com>2013-10-18 00:58:02 +0100
committerAlasdair Nicol <alasdair@memset.com>2013-10-18 01:46:24 +0100
commitbab9123daa5d05150951f74183906a76d2b0cf27 (patch)
tree4fc24535f85f84c69e64c6eac654294725d906df /tests/app_loading
parent65d1d65d52a87bba22845bcb7c3c921a8789ec19 (diff)
downloaddjango-bab9123daa5d05150951f74183906a76d2b0cf27.tar.gz
Fixed #21268 -- Fixed E303 pep8 warnings
Diffstat (limited to 'tests/app_loading')
-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 [