Skip to content

Commit

Permalink
Merge pull request #284 from SUSE/more-iidfile-fixes
Browse files Browse the repository at this point in the history
Use get_image_id_from_iidfile to handle old podman versions
  • Loading branch information
dcermak authored Aug 9, 2023
2 parents 4c72927 + 36e27aa commit c410cd0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,7 @@ def test_certificates_are_present(
f"{' '.join(container_runtime.build_command + get_extra_build_args(pytestconfig))} "
f"--iidfile={iidfile} {tmp_path}",
)
with open(iidfile, "r", encoding="utf-8") as id_f:
_, img_id = id_f.read().strip().split(":")
img_id = container_runtime.get_image_id_from_iidfile(iidfile)

host.run_expect(
[0],
Expand Down

0 comments on commit c410cd0

Please sign in to comment.