diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-07-31 07:48:52 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-08-03 08:09:59 +0200 |
| commit | 080359c4c5242ef69ac8c58c92f240e71121ffd7 (patch) | |
| tree | 0ea5b4b419294a5c74b62db00c2c54c456b435cd /tests/admin_views | |
| parent | 1a9f079b7e43c0045f380729ba5fd7cfaa137bd5 (diff) | |
[4.0.x] Fixed warnings per flake8 5.0.0.
Backport of c18861804feb6a97afbeabb51be748dd60a04458 from main.
Diffstat (limited to 'tests/admin_views')
| -rw-r--r-- | tests/admin_views/tests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index e7ff999b5d..e59bf7adb9 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -800,8 +800,9 @@ class AdminViewBasicTest(AdminViewBasicTestCase): self.assertIs(response.context["cl"].has_related_field_in_list_display(), False) def test_limited_filter(self): - """Ensure admin changelist filters do not contain objects excluded via limit_choices_to. - This also tests relation-spanning filters (e.g. 'color__value'). + """ + Admin changelist filters do not contain objects excluded via + limit_choices_to. """ response = self.client.get(reverse("admin:admin_views_thing_changelist")) self.assertContains( |
