mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-09-27 03:01:51 +02:00
test: remove dead _make_client helper from conftest (from PR #376 review).
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -30,12 +30,6 @@ def client(_suppress_background_services):
|
|||||||
from main import app
|
from main import app
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|
||||||
transport = ASGITransport(app=app)
|
|
||||||
|
|
||||||
async def _make_client():
|
|
||||||
async with AsyncClient(transport=transport, base_url="http://test") as ac:
|
|
||||||
return ac
|
|
||||||
|
|
||||||
# Return a sync-usable wrapper
|
# Return a sync-usable wrapper
|
||||||
class SyncClient:
|
class SyncClient:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user