Closed marcorossi5 closed 2 months ago
We use pytest as the test runner, but we keep using unittest.mock module for Mock and patch.
unittest.mock
Mock
patch
We would like to avoid that by using pytest.monkeypatch instead.
pytest.monkeypatch
We use pytest as the test runner, but we keep using
unittest.mock
module forMock
andpatch
.We would like to avoid that by using
pytest.monkeypatch
instead.