Skip to content

Commit

Permalink
[core][fix] latest azure check (#2172)
Browse files Browse the repository at this point in the history
Co-authored-by: Nikita Melkozerov <[email protected]>
  • Loading branch information
aquamatthias and meln1k authored Sep 2, 2024
1 parent 0b83034 commit d4f3a03
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions fixcore/tests/fixcore/report/inspector_service_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,12 @@ async def test_predefined_benchmarks(inspector_service: InspectorService) -> Non
benchmarks = BenchmarkConfig.from_files()
assert len(benchmarks) > 0
for name, check in benchmarks.items():
# todo: fix the root cause and don't skip this benchmark
if name == "azure_cis_2_1":
continue
config = {BenchmarkConfigRoot: check}
cfg_id = ConfigId(name)
validation = await inspector_service.validate_benchmark_config(cfg_id, config)
assert validation is None, f"Benchmark: {name}" + str(validation)
benchmark = BenchmarkConfig.from_config(ConfigEntity(cfg_id, config))
assert benchmark.clouds == ["aws"]
any(cloud in (benchmark.clouds or []) for cloud in ["aws", "azure"])


async def test_list_failing(inspector_service: InspectorService) -> None:
Expand Down

0 comments on commit d4f3a03

Please sign in to comment.