Commit 22c3aadd by Arun Babu Neelicattu

tests/command/init: fix incorrect patching

Relates-to: #2899
parent 7fac6769
...@@ -87,7 +87,7 @@ def test_noninteractive(app, mocker, poetry, repo, tmp_path): ...@@ -87,7 +87,7 @@ def test_noninteractive(app, mocker, poetry, repo, tmp_path):
repo.add_package(get_package("pytest", "3.6.0")) repo.add_package(get_package("pytest", "3.6.0"))
p = mocker.patch("poetry.utils._compat.Path.cwd") p = mocker.patch("pathlib.Path.cwd")
p.return_value = tmp_path p.return_value = tmp_path
tester = CommandTester(command) tester = CommandTester(command)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment