Skip to content

Commit ed38175

Browse files
committed
test: remove mocked_requests fixture
1 parent 4567874 commit ed38175

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/unit/conftest.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ def client(request_mock) -> Client:
2121
return c
2222

2323

24-
@pytest.fixture(autouse=True, scope="function")
25-
def mocked_requests():
26-
patcher = mock.patch("hcloud._client.requests")
27-
mocked_requests = patcher.start()
28-
yield mocked_requests
29-
patcher.stop()
30-
31-
3224
@pytest.fixture()
3325
def generic_action():
3426
return {

0 commit comments

Comments
 (0)