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
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1751, in get
return await self.request(
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1527, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1614, in send
response = await self._send_handling_auth(
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1642, in _send_handling_auth
response = await self._send_handling_redirects(
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1679, in _send_handling_redirects
response = await self._send_single_request(request)
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1716, in _send_single_request
response = await transport.handle_async_request(request)
File "/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py", line 353, in handle_async_request
resp = await self._pool.handle_async_request(req)
File "/usr/local/lib/python3.9/site-packages/respx/mocks.py", line 188, in amock
response = await cls._send_async_request(
File "/usr/local/lib/python3.9/site-packages/respx/mocks.py", line 222, in _send_async_request
httpx_response = await cls.async_handler(httpx_request)
File "/usr/local/lib/python3.9/site-packages/respx/mocks.py", line 134, in async_handler
raise assertion_error
File "/usr/local/lib/python3.9/site-packages/respx/mocks.py", line 127, in async_handler
httpx_response = await router.async_handler(httpx_request)
File "/usr/local/lib/python3.9/site-packages/respx/router.py", line 319, in async_handler
resolved = await self.aresolve(request)
File "/usr/local/lib/python3.9/site-packages/respx/router.py", line 306, in aresolve
break
File "/usr/local/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/contextlib.py", line 126, in __exit__
next(self.gen)
File "/usr/local/lib/python3.9/site-packages/respx/router.py", line 251, in resolver
raise AllMockedAssertionError(f"RESPX: {request!r} not mocked!")
respx.models.AllMockedAssertionError: RESPX: <Request('GET', 'http://test/path?filter=%7B%22name%22%3A%20%22something%22%7D')> not mocked!
The text was updated successfully, but these errors were encountered:
When I try an url with query quoted parameters, respx does not match the mocked url and raises "RESPX ... not mocked!"
The text was updated successfully, but these errors were encountered: