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