From 3371a5c623c22149c3bb1291fffe6a2532fd8153 Mon Sep 17 00:00:00 2001 From: Michael Pruitt Date: Thu, 28 Mar 2024 11:11:04 -0500 Subject: [PATCH] make pre-commit --- tests/unittests/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unittests/conftest.py b/tests/unittests/conftest.py index 4959117b..0c3af94e 100644 --- a/tests/unittests/conftest.py +++ b/tests/unittests/conftest.py @@ -530,6 +530,7 @@ def put(self, url, data, *args, **kwargs): LOGGER.info(f"Unpatched PUT request to: {url}") monkeypatch.undo() return requests.sessions.Session.put(self, url, *args, **kwargs) + monkeypatch.setattr(requests.sessions.Session, "get", get) monkeypatch.setattr(requests.sessions.Session, "post", post) monkeypatch.setattr(requests.sessions.Session, "put", put)