7

Results 34 comments of 7

doesn't seem it's related to the version bump, guess `sanic` removes that module in recent version, can take a look tho

Hey guys @notzippy @melindaloubser1 , sorry about the late replies and inconvenience, kinda of busy these days, not able to keep maintaining the lib. I'm happy to add you guys...

any sample code for me to reproduce ? Tried with one simple test (https://github.com/yunstanford/pytest-sanic/commit/e76ddeb656d14c0014399a0b8bb4d85735b6153f), seems working fine.

Why do you need get request back from `test_client` ? any use case ?

Also if you need to test the request obj itself, you can easily test it inside handler.

you can either ```python async def test_func(app): @app.route("/test_get", methods=['GET']) async def test_get(request): # test request session test_cli = await test_client(app) resp = await test_cli.get('/test_get') ``` or make the route handler...

1. it won't be able to test async coroutines, which is huge gap for async web application. When your webapp becomes large, it will have a lot lib async functions...

yeah, i'd like to have some documentations like http://aiohttp.readthedocs.io/en/stable/web.html, for example, request/response/server/client etc. that would be very helpful. With only the README, i don't know even how to use request...

how can i get the query parameters from request obj ? like, "http://0.0.0.0:8080/profile/?query_id=012345678"