Skip to content

Commit d4f3a03

Browse files
aquamatthiasmeln1k
andauthored
[core][fix] latest azure check (#2172)
Co-authored-by: Nikita Melkozerov <nikita@some.engineering>
1 parent 0b83034 commit d4f3a03

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

fixcore/tests/fixcore/report/inspector_service_test.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,12 @@ async def test_predefined_benchmarks(inspector_service: InspectorService) -> Non
162162
benchmarks = BenchmarkConfig.from_files()
163163
assert len(benchmarks) > 0
164164
for name, check in benchmarks.items():
165-
# todo: fix the root cause and don't skip this benchmark
166-
if name == "azure_cis_2_1":
167-
continue
168165
config = {BenchmarkConfigRoot: check}
169166
cfg_id = ConfigId(name)
170167
validation = await inspector_service.validate_benchmark_config(cfg_id, config)
171168
assert validation is None, f"Benchmark: {name}" + str(validation)
172169
benchmark = BenchmarkConfig.from_config(ConfigEntity(cfg_id, config))
173-
assert benchmark.clouds == ["aws"]
170+
any(cloud in (benchmark.clouds or []) for cloud in ["aws", "azure"])
174171

175172

176173
async def test_list_failing(inspector_service: InspectorService) -> None:

0 commit comments

Comments
 (0)