15
15
16
16
@pytest .mark .parametrize ("url" , routes )
17
17
def test_destination (
18
- page : Page ,
19
- url : str ,
18
+ page : Page ,
19
+ url : str ,
20
20
) -> None :
21
21
"""Test that the destinations page loads with seeded data"""
22
22
# Create a destination
@@ -28,11 +28,11 @@ def test_destination(
28
28
@pytest .mark .parametrize (
29
29
"title, url" ,
30
30
(
31
- ("Acerca de" , "/es/about/" ),
32
- ("Inicio" , "/es/" ),
33
- ("Eventos" , "/es/events/" ),
34
- ("Comunidad" , "/es/community/" ),
35
- ("Conferencias" , "/es/conferences/" ),
31
+ ("Acerca de" , "/es/about/" ),
32
+ ("Inicio" , "/es/" ),
33
+ ("Eventos" , "/es/events/" ),
34
+ ("Comunidad" , "/es/community/" ),
35
+ ("Conferencias" , "/es/conferences/" ),
36
36
),
37
37
)
38
38
def test_headers_in_language (page : Page , title : str , url : str ) -> None :
@@ -57,11 +57,11 @@ def test_switching_lang_es_about(page: Page) -> None:
57
57
@pytest .mark .parametrize (
58
58
"title, url" ,
59
59
(
60
- ("Kutuhusu" , "/sw/about/" ),
61
- ("Nyumbani" , "/sw/" ),
62
- ("Matukio" , "/sw/events/" ),
63
- ("Jumuiya" , "/sw/community/" ),
64
- ("Mikutano" , "/sw/conferences/" ),
60
+ ("Kutuhusu" , "/sw/about/" ),
61
+ ("Nyumbani" , "/sw/" ),
62
+ ("Matukio" , "/sw/events/" ),
63
+ ("Jumuiya" , "/sw/community/" ),
64
+ ("Mikutano" , "/sw/conferences/" ),
65
65
),
66
66
)
67
67
def test_headers_in_sw (page : Page , title : str , url : str ) -> None :
@@ -86,12 +86,12 @@ def test_switching_lang_sw_about(page: Page) -> None:
86
86
@pytest .mark .parametrize (
87
87
"title, url" ,
88
88
(
89
- ("Black Python Devs | Home" , "/" ),
90
- ("Black Python Devs | Blog" , "/blog" ),
91
- ("Black Python Devs | About Us" , "/about/" ),
92
- ("Black Python Devs | Events" , "/events/" ),
93
- ("Black Python Devs | Conferences" , "/conferences/" ),
94
- ("Black Python Devs | Community" , "/community/" ),
89
+ ("Black Python Devs | Home" , "/" ),
90
+ ("Black Python Devs | Blog" , "/blog" ),
91
+ ("Black Python Devs | About Us" , "/about/" ),
92
+ ("Black Python Devs | Events" , "/events/" ),
93
+ ("Black Python Devs | Conferences" , "/conferences/" ),
94
+ ("Black Python Devs | Community" , "/community/" ),
95
95
),
96
96
)
97
97
def test_bpdevs_title_en (page : Page , title : str , url : str ) -> None :
0 commit comments