Skip to content

Commit

Permalink
fix test request handler mock
Browse files Browse the repository at this point in the history
  • Loading branch information
john-herholz-dt committed Aug 18, 2024
1 parent 5754ef4 commit 8fd1588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webservice/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def _request_handler(cls, s: Session, r: PreparedRequest, /, **kw):
if r.url.startswith("https://localhost.demo.odoo/") or r.url.startswith(
"https://custom.url"
):
return cls._super_send(r, **kw)
return cls._super_send(s, r, **kw)
return super()._request_handler(s, r, **kw)


Expand Down

0 comments on commit 8fd1588

Please sign in to comment.