Skip to content

Commit

Permalink
use safe load
Browse files Browse the repository at this point in the history
  • Loading branch information
tingwei committed Nov 7, 2024
1 parent c7c5df6 commit 5108306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/prometheus/molecule/default/tests/test_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
@pytest.fixture()
def AnsibleDefaults():
with open("defaults/main.yml", 'r') as stream:
return yaml.load(stream)
return yaml.safe_load(stream)


@pytest.mark.parametrize("dirs", [
Expand Down

0 comments on commit 5108306

Please sign in to comment.