Skip to content

Commit 6183797

Browse files
committed
Linter fixes
1 parent 2ff406d commit 6183797

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

tests/test.py

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
("events"),
1515
]
1616

17+
1718
# Add a delay to each test to help with playwright race conditions
1819
@pytest.fixture(autouse=True)
1920
def slow_down_tests():
@@ -23,8 +24,8 @@ def slow_down_tests():
2324

2425
@pytest.mark.parametrize("url", routes)
2526
def test_destination(
26-
page: Page,
27-
url: str,
27+
page: Page,
28+
url: str,
2829
) -> None:
2930
"""Test that the destinations page loads with seeded data"""
3031
# Create a destination
@@ -36,11 +37,11 @@ def test_destination(
3637
@pytest.mark.parametrize(
3738
"title, url",
3839
(
39-
("Acerca de", "/es/about/"),
40-
("Inicio", "/es/"),
41-
("Eventos", "/es/events/"),
42-
("Comunidad", "/es/community/"),
43-
("Conferencias", "/es/conferences/"),
40+
("Acerca de", "/es/about/"),
41+
("Inicio", "/es/"),
42+
("Eventos", "/es/events/"),
43+
("Comunidad", "/es/community/"),
44+
("Conferencias", "/es/conferences/"),
4445
),
4546
)
4647
def test_headers_in_language(page: Page, title: str, url: str) -> None:
@@ -65,11 +66,11 @@ def test_switching_lang_es_about(page: Page) -> None:
6566
@pytest.mark.parametrize(
6667
"title, url",
6768
(
68-
("Kutuhusu", "/sw/about/"),
69-
("Nyumbani", "/sw/"),
70-
("Matukio", "/sw/events/"),
71-
("Jumuiya", "/sw/community/"),
72-
("Mikutano", "/sw/conferences/"),
69+
("Kutuhusu", "/sw/about/"),
70+
("Nyumbani", "/sw/"),
71+
("Matukio", "/sw/events/"),
72+
("Jumuiya", "/sw/community/"),
73+
("Mikutano", "/sw/conferences/"),
7374
),
7475
)
7576
def test_headers_in_sw(page: Page, title: str, url: str) -> None:
@@ -94,12 +95,12 @@ def test_switching_lang_sw_about(page: Page) -> None:
9495
@pytest.mark.parametrize(
9596
"title, url",
9697
(
97-
("Black Python Devs | Home", "/"),
98-
("Black Python Devs | Blog", "/blog"),
99-
("Black Python Devs | About Us", "/about/"),
100-
("Black Python Devs | Events", "/events/"),
101-
("Black Python Devs | Conferences", "/conferences/"),
102-
("Black Python Devs | Community", "/community/"),
98+
("Black Python Devs | Home", "/"),
99+
("Black Python Devs | Blog", "/blog"),
100+
("Black Python Devs | About Us", "/about/"),
101+
("Black Python Devs | Events", "/events/"),
102+
("Black Python Devs | Conferences", "/conferences/"),
103+
("Black Python Devs | Community", "/community/"),
103104
),
104105
)
105106
def test_bpdevs_title_en(page: Page, title: str, url: str) -> None:

0 commit comments

Comments
 (0)