Skip to content

Commit

Permalink
chore: fix graph loading test (#5616)
Browse files Browse the repository at this point in the history
fix graph loading test
  • Loading branch information
gruebel committed Oct 4, 2023
1 parent 42a97f4 commit c01a549
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/common/checks/test_graph_check_loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ def test_external_checks_and_graph_checks_load(self):
runner_filter = RunnerFilter(framework=['terraform'])
external_graph_checks = 0

# make sure internal checks are loaded beforehand
runner.graph_registry.load_checks()

# with external yaml checks external graph registry checks count should be equal to the external graph checks
extra_checks_dir_path = [current_dir + "/extra_checks", current_dir + "/extra_yaml_checks"]
runner.run(root_folder=current_dir, external_checks_dir=extra_checks_dir_path,
Expand Down

0 comments on commit c01a549

Please sign in to comment.