diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-08-17 18:32:40 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-08-20 09:05:16 +0200 |
| commit | d9ae7f5b580a0e8475bbfe84a86e1bd0fd404663 (patch) | |
| tree | 7feefea3403ad350095514d77739ee0d644b964f /tests/admin_changelist | |
| parent | 231c0d85931b5afde3e3caec0e6bc5ca6132bb7a (diff) | |
Fixed #35686 -- Added table headers to app list tables for screen readers.
Diffstat (limited to 'tests/admin_changelist')
| -rw-r--r-- | tests/admin_changelist/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_changelist/tests.py b/tests/admin_changelist/tests.py index 4d8845e11e..ec6820c62f 100644 --- a/tests/admin_changelist/tests.py +++ b/tests/admin_changelist/tests.py @@ -1608,7 +1608,7 @@ class ChangeListTests(TestCase): response = m.changelist_view(request) self.assertIn('<ul class="object-tools">', response.rendered_content) # The "Add" button inside the object-tools shouldn't appear. - self.assertNotIn("Add ", response.rendered_content) + self.assertNotIn("Add event", response.rendered_content) def test_search_help_text(self): superuser = self._create_superuser("superuser") |
