Skip to content

Commit

Permalink
Improve docker test
Browse files Browse the repository at this point in the history
  • Loading branch information
hukkin committed Oct 22, 2024
1 parent 7878603 commit 66c51b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_mdformat_shfmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def test_docker():

def no_shfmt_run(*args, **kwargs):
"""Make subprocess.run think that `shfmt` is not installed."""
if args[0][0] == "shfmt":
if args[0][0] in {"shfmt", "podman"}:
raise FileNotFoundError
return unmocked_run(*args, **kwargs)

Expand Down

0 comments on commit 66c51b5

Please sign in to comment.