Skip to content

Commit ba5f2ff

Browse files
committed
Fix tests
1 parent 101314f commit ba5f2ff

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

examples/build/builders/global-config-list.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,4 @@ platform-builders:
1717
- builder2
1818
- builder3
1919
linux/arm64/v8:
20-
- builder1
21-
- builder2
22-
- builder3
20+
- builder1

tests/test_config_validation/test_global_config.py

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -139,23 +139,16 @@ def fixture_override_master_config_file(tmp_path):
139139
""",
140140
[],
141141
),
142-
(
143-
"""
144-
platform-builders:
145-
linux/amd64: builder1
146-
linux/arm64:
147-
- builder1
148-
- builder2
149-
""",
150-
[],
151-
),
152142
(
153143
"""
154144
platform-builders:
155145
- builder1
156146
- builder2
157147
""",
158-
["platform-builders: Input should be a valid dictionary (dict_type)"],
148+
[
149+
" platform-builders.dict[str,str]: Input should be a valid dictionary (dict_type)",
150+
" platform-builders.dict[str,list[str]]: Input should be a valid dictionary (dict_type)",
151+
],
159152
),
160153
],
161154
)

0 commit comments

Comments
 (0)