diff options
| author | django-bot <ops@djangoproject.com> | 2022-02-03 20:24:19 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-02-07 20:37:05 +0100 |
| commit | 9c19aff7c7561e3a82978a272ecdaad40dda5c00 (patch) | |
| tree | f0506b668a013d0063e5fba3dbf4863b466713ba /tests/no_models | |
| parent | f68fa8b45dfac545cfc4111d4e52804c86db68d3 (diff) | |
Refs #33476 -- Reformatted code with Black.
Diffstat (limited to 'tests/no_models')
| -rw-r--r-- | tests/no_models/tests.py | 3 |
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) |
