Skip to content

Commit

Permalink
fix: patcher test
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Sep 8, 2023
1 parent f8a6340 commit 700bb15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/test_elfpatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
from auditwheel.patcher import Patchelf


@patch("auditwheel.patcher.find_executable")
def test_patchelf_unavailable(find_executable):
find_executable.return_value = False
@patch("auditwheel.patcher.which")
def test_patchelf_unavailable(which):
which.return_value = False
with pytest.raises(ValueError):
Patchelf()

Expand Down

0 comments on commit 700bb15

Please sign in to comment.