Required by `python-sse-starlette`, which is in turn one of dependencies of `python-mistral-vibe`. OBS-URL: https://build.opensuse.org/request/show/1327295 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asgi-lifespan?expand=0&rev=1
14 lines
631 B
Diff
14 lines
631 B
Diff
Index: asgi-lifespan-2.1.0/tests/test_manager.py
|
|
===================================================================
|
|
--- asgi-lifespan-2.1.0.orig/tests/test_manager.py
|
|
+++ asgi-lifespan-2.1.0/tests/test_manager.py
|
|
@@ -241,7 +241,7 @@ async def test_lifespan_state_async_cm()
|
|
|
|
async with LifespanManager(app) as manager:
|
|
async with httpx.AsyncClient(
|
|
- app=manager.app, base_url="http://example.org"
|
|
+ transport=httpx.ASGITransport(manager.app), base_url="http://example.org"
|
|
) as client:
|
|
response = await client.get("/get")
|
|
assert response.status_code == 200
|