Skip to content

Commit

Permalink
Use get_image_id_from_iidfile to handle old podman versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dcermak committed Aug 9, 2023
1 parent 2862f6c commit 673030c
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 @@ -223,8 +223,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 673030c

Please sign in to comment.