diff options
| author | django-bot <ops@djangoproject.com> | 2025-07-22 20:41:41 -0700 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-07-23 20:17:55 -0300 |
| commit | 69a93a88edb56ba47f624dac7a21aacc47ea474f (patch) | |
| tree | f57507a4435d032493cae40e06ecb254790b67b2 /tests/apps | |
| parent | 55b0cc21310b76ce4018dd793ba50556eaf0af06 (diff) | |
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
Diffstat (limited to 'tests/apps')
| -rw-r--r-- | tests/apps/tests.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/apps/tests.py b/tests/apps/tests.py index fba9c43a34..0f395b7fc3 100644 --- a/tests/apps/tests.py +++ b/tests/apps/tests.py @@ -388,7 +388,8 @@ class AppsTests(SimpleTestCase): class LazyC(models.Model): pass - # Everything should be loaded - make sure the callback was executed properly. + # Everything should be loaded - make sure the callback was executed + # properly. self.assertEqual(model_classes, [LazyA, LazyB, LazyB, LazyC, LazyA]) @@ -421,7 +422,9 @@ class AppConfigTests(SimpleTestCase): self.assertEqual(ac.path, "foo") def test_dunder_path(self): - """If single element in __path__, use it (in preference to __file__).""" + """ + If single element in __path__, use it (in preference to __file__). + """ ac = AppConfig("label", Stub(__path__=["a"], __file__="b/__init__.py")) self.assertEqual(ac.path, "a") |
