summaryrefslogtreecommitdiff
path: root/tests/no_models
diff options
context:
space:
mode:
authordjango-bot <ops@djangoproject.com>2022-02-03 20:24:19 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-07 20:37:05 +0100
commit9c19aff7c7561e3a82978a272ecdaad40dda5c00 (patch)
treef0506b668a013d0063e5fba3dbf4863b466713ba /tests/no_models
parentf68fa8b45dfac545cfc4111d4e52804c86db68d3 (diff)
downloaddjango-9c19aff7c7561e3a82978a272ecdaad40dda5c00.tar.gz
Refs #33476 -- Reformatted code with Black.
Diffstat (limited to 'tests/no_models')
-rw-r--r--tests/no_models/tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/no_models/tests.py b/tests/no_models/tests.py
index d5661e09c7..d20a834e30 100644
--- a/tests/no_models/tests.py
+++ b/tests/no_models/tests.py
@@ -3,8 +3,7 @@ from django.test import SimpleTestCase
class NoModelTests(SimpleTestCase):
-
def test_no_models(self):
"""It's possible to load an app with no models.py file."""
- app_config = apps.get_app_config('no_models')
+ app_config = apps.get_app_config("no_models")
self.assertIsNone(app_config.models_module)