Skip to content

Commit

Permalink
fix graph loading test
Browse files Browse the repository at this point in the history
  • Loading branch information
gruebel committed Oct 3, 2023
1 parent a9df36a commit d798129
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 d798129

Please sign in to comment.