You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello- I am trying to use the pop method as described in the docs (#60), but running into the issue below. As you can see I am using the latest version, which should include pop:
@respx.mock
def test_something():
import pkg_resources
assert pkg_resources.get_distribution('respx').version == "0.12.1"
respx.get("https://foo.bar/", status_code=404, alias="index")
> request_pattern = respx.pop("index")
E AttributeError: module 'respx' has no attribute 'pop'
Is there something I'm doing wrong?
The text was updated successfully, but these errors were encountered:
Hello- I am trying to use the
pop
method as described in the docs (#60), but running into the issue below. As you can see I am using the latest version, which should includepop
:Is there something I'm doing wrong?
The text was updated successfully, but these errors were encountered: