Skip to content

Commit

Permalink
test: fix pytest-subprocess renaming failures
Browse files Browse the repository at this point in the history
  • Loading branch information
xopham committed Feb 4, 2022
1 parent 980a4d7 commit b35487e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/validators/cosign/test_cosign_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def mock_add_kill_fake_process(monkeypatch):
def mock_kill(self):
return

pytest_subprocess.core.FakePopen.kill = mock_kill
pytest_subprocess.fake_popen.FakePopen.kill = mock_kill


@pytest.mark.parametrize("index", [0, 1, 2])
Expand Down Expand Up @@ -313,7 +313,7 @@ def callback_function(input):
stdin_callable=callback_function,
)

mock_kill = mocker.patch("pytest_subprocess.core.FakePopen.kill")
mock_kill = mocker.patch("pytest_subprocess.fake_popen.FakePopen.kill")

with pytest.raises(exc.CosignTimeout) as err:

Expand Down

0 comments on commit b35487e

Please sign in to comment.