Skip to content

Commit aef3a88

Browse files
EKIR-688 Fix test
1 parent 3d0ad1e commit aef3a88

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tests/core/data_conversion/test_accessibility_mapper.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def test__map_conforms_to(self, data_mapper, conformance, expected_output):
8787
[
8888
pytest.param(["flashing"], ["Flashing content"], id="flashing"),
8989
pytest.param(
90-
["noFlashingHazard", "noSoundHazard", "noMotionSimulationHazard"],
90+
["noflashinghazard", "nosoundhazard", "nomotionsimulationhazard"],
9191
["No hazards"],
9292
id="no hazards",
9393
),
@@ -106,7 +106,7 @@ def test__map_hazards(self, data_mapper, hazards, expected_output):
106106
pytest.param(
107107
["textual"],
108108
["textual"],
109-
["longDescription"],
109+
["longdescription"],
110110
[
111111
"Has alternative text",
112112
"Readable in read aloud or dynamic braille",
@@ -123,7 +123,7 @@ def test__map_hazards(self, data_mapper, hazards, expected_output):
123123
pytest.param(
124124
None,
125125
["textual, visual"],
126-
["tableOfContents", "displayTransformability"],
126+
["tableofcontents", "displaytransformability"],
127127
[
128128
"Appearance can be modified",
129129
"Not fully readable in read aloud or dynamic braille",
@@ -133,7 +133,7 @@ def test__map_hazards(self, data_mapper, hazards, expected_output):
133133
pytest.param(
134134
["auditory"],
135135
None,
136-
["synchronizedAudioText"],
136+
["synchronizedaudiotext"],
137137
[
138138
"Not readable in read aloud or dynamic braille",
139139
"Prerecorded audio synchronized with text",
@@ -143,7 +143,7 @@ def test__map_hazards(self, data_mapper, hazards, expected_output):
143143
pytest.param(
144144
["textual"],
145145
["textual, visual", "textual"],
146-
["displayTransformability", "alternativeText"],
146+
["displaytransformability", "alternativetext"],
147147
[
148148
"Appearance can be modified",
149149
"Has alternative text",
@@ -161,7 +161,7 @@ def test__map_hazards(self, data_mapper, hazards, expected_output):
161161
pytest.param(
162162
None,
163163
["textual"],
164-
["longDescription"],
164+
["longdescription"],
165165
[
166166
"Has alternative text",
167167
"Readable in read aloud or dynamic braille",
@@ -206,21 +206,21 @@ def test__map_ways_of_reading(
206206
pytest.param(
207207
["textual"],
208208
None,
209-
["longDescription", "alternativeText", "describedMath", "transcript"],
209+
["longdescription", "alternativetext", "describedmath", "transcript"],
210210
["all_necessary_content_textual", "textual_alternatives"],
211211
id="text alternatives, all textual",
212212
),
213213
pytest.param(
214214
None,
215215
None,
216-
["longDescription", "alternativeText", "describedMath", "transcript"],
216+
["longdescription", "alternativetext", "describedmath", "transcript"],
217217
["textual_alternatives"],
218218
id="text alternatives",
219219
),
220220
pytest.param(
221221
None,
222222
["textual, visual"],
223-
["longDescription", "alternativeText"],
223+
["longdescription", "alternativetext"],
224224
["some_sufficient_text", "textual_alternatives"],
225225
id="some text alternatives",
226226
),

0 commit comments

Comments
 (0)