mirror of
https://github.com/enpaul/tox-poetry-installer.git
synced 2025-12-17 11:58:27 +00:00
Move away from soon-to-be-removed PipInstaller
This commit is contained in:
@@ -81,8 +81,8 @@ def test_propagates_exceptions_during_installation(
|
||||
|
||||
with mock.patch.object(
|
||||
_poetry,
|
||||
"PipInstaller",
|
||||
**{"return_value.install.side_effect": fake_exception},
|
||||
"Executor",
|
||||
**{"return_value.execute.side_effect": fake_exception},
|
||||
):
|
||||
with pytest.raises(ValueError) as exc_info:
|
||||
installer.install(poetry, venv, to_install, num_threads)
|
||||
|
||||
Reference in New Issue
Block a user