Skip to content

Commit

Permalink
Correct the skipif in test_kiwi_create_image to exclude docker
Browse files Browse the repository at this point in the history
  • Loading branch information
dcermak committed Oct 7, 2024
1 parent 997b842 commit 768f1e7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_kiwi.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ def test_kiwi_installation(auto_container):
reason="test is atm x86_64 specific",
)
@pytest.mark.skipif(
PODMAN_SELECTED and os.geteuid() != 0,
PODMAN_SELECTED, reason="Kiwi containers are only supported with podman"
)
@pytest.mark.skipif(
os.geteuid() != 0,
# https://github.com/containers/podman/issues/17715#issuecomment-1460227771
reason="PODMAN requires root privileges for kiwi tests",
)
Expand Down

0 comments on commit 768f1e7

Please sign in to comment.