Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions podman/tests/integration/test_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ def add_file(name: str, content: str):
self.assertIsNotNone(image)
self.assertIsNotNone(image.id)

# https://github.com/containers/podman-py/issues/636
@unittest.skipIf(platform.machine() != "x86_64", reason="test image only available on x86_64")
def test_build_with_secret(self):
with tempfile.TemporaryDirectory() as context_dir:
dockerfile_path = os.path.join(context_dir, "Dockerfile")
Expand Down
5 changes: 4 additions & 1 deletion podman/tests/integration/test_manifests.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ def test_manifest_crud(self):

with self.subTest("Inspect"):
actual = self.client.manifests.get("quay.io/libpod/alpine:latest")
self.assertEqual(actual.id, manifest.id)
# We don't check manifest.id since arm64 resolves a platform-specific
# digest rather than the top-level manifest list digest.
self.assertIsNotNone(actual.id)
self.assertTrue(actual.id)

actual = self.client.manifests.get(manifest.name)
self.assertEqual(actual.id, manifest.id)
Expand Down
Loading