We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bb3fa4 commit 4d26707Copy full SHA for 4d26707
tests/test_main.py
@@ -12,7 +12,7 @@
12
import packaging.requirements
13
import packaging.utils
14
import pytest
15
-import ruamel.yaml
+import yaml
16
17
from tests import PROJECT_ROOT, manifests
18
@@ -79,7 +79,7 @@ def test_image_pyprojects(subtests: pytest_subtests.plugin.SubTests):
79
f"Computed filepath '{manifest_file}' does not exist."
80
)
81
82
- imagestream = ruamel.yaml.YAML().load(manifest_file.read_text())
+ imagestream = yaml.safe_load(manifest_file.read_text())
83
recommended_tags = [
84
tag
85
for tag in imagestream["spec"]["tags"]
0 commit comments