Jonas Lundberg
Jonas Lundberg
Thanks @Skeen for the issue and research! It's true that the ASGI mocking lacks logic testing, will have to look at this next week 👍
I've been looking at this now, and the `HTTPCoreMocker.add_targets` that you're using is not a documented feature and only available for adding `httpcore` transports, you're adding a `httpx` transport which...
> The code presented in this PR is copied from here: https://github.com/lundberg/respx/blob/0.17.1/tests/test_mock.py#L462-L493 It's true that it _was_ possible to add `HTTPX` transports as targets to the `HTTPCoreMocker`. As can be...
Thanks, will look into this 👍
Forgot that I already fixed this in #201 😂 , just not released yet.
This is a great suggestion and enhancement of the router settings. I think this could be solved by adding a `.configure(...)` method to the router and include the *assertions* and...
I gave this a try a few days ago @flaeppe, and got stuck on a *"problem"* with the `base_url`. How it works is that the base URL is turned into...
> But if I'm interpreting you right here, the problematic part is that bases are merged with each route and we have no way of "rewinding" that merge? So that...
Side note...this would be of interest even for #190 in the case a route is added to the default *global* `respx` router, then all subsequent routers would inherit that/those added...
Thanks for the PR @Mojken. I also gave this a try but got stuck on the *bases*. The intention of this requested configuration feature is for example to be able...