Skip to content

Commit

Permalink
make pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
amp-rh committed Mar 28, 2024
1 parent cd0cab7 commit 3371a5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unittests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3371a5c

Please sign in to comment.