how can i monkeypatch request from starlette #10034
Unanswered
rajshahdev
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@nicoddemus or @RonnyPfannschmidt guys i need your help here!! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i want to mock monkeypatch the request library from starlette
and here I am using pytest
but I got an error saying
or even when i pass in the test function
it points to the original(actual) function
so how can I monkeypatch with request.scope from starlette
this is the function that I need to mock
Beta Was this translation helpful? Give feedback.
All reactions