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/admin_views/test_skip_link_to_content.py | |
| 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/admin_views/test_skip_link_to_content.py')
| -rw-r--r-- | tests/admin_views/test_skip_link_to_content.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/admin_views/test_skip_link_to_content.py b/tests/admin_views/test_skip_link_to_content.py index 80cf6e5357..3284b76495 100644 --- a/tests/admin_views/test_skip_link_to_content.py +++ b/tests/admin_views/test_skip_link_to_content.py @@ -36,12 +36,14 @@ class SeleniumTests(AdminSeleniumTestCase): self.assertTrue(skip_link.is_displayed()) # Press RETURN to skip the navbar links (view site / documentation / - # change password / log out) and focus first model in the admin_views list. + # change password / log out) and focus first model in the admin_views + # list. skip_link.send_keys(Keys.RETURN) self.assertFalse(skip_link.is_displayed()) # `skip link` disappear. keys = [Keys.TAB, Keys.TAB] # The 1st TAB is the section title. if self.browser == "firefox": - # For some reason Firefox doesn't focus the section title ('ADMIN_VIEWS'). + # For some reason Firefox doesn't focus the section title + # ('ADMIN_VIEWS'). keys.remove(Keys.TAB) body.send_keys(keys) actors_a_tag = self.selenium.find_element(By.LINK_TEXT, "Actors") @@ -61,7 +63,8 @@ class SeleniumTests(AdminSeleniumTestCase): ) self.assertEqual(self.selenium.switch_to.active_element, actors_a_tag) - # Go to the Actor form and the first input will be focused automatically. + # Go to the Actor form and the first input will be focused + # automatically. with self.wait_page_loaded(): actors_a_tag.send_keys(Keys.RETURN) first_input = self.selenium.find_element(By.ID, "id_name") |
