minor: rename test client
client -> default_client To allow for different clients. Primarily to allow different overrides for auth testing.
This commit is contained in:
parent
a907506ec1
commit
9d9ca0b907
7 changed files with 140 additions and 140 deletions
|
|
@ -32,7 +32,7 @@ def db_session():
|
|||
|
||||
|
||||
@pytest.fixture
|
||||
async def client(db_session) -> AsyncGenerator[AsyncClient, None]:
|
||||
async def default_client(db_session) -> AsyncGenerator[AsyncClient, None]:
|
||||
def get_db_override():
|
||||
return db_session
|
||||
app.dependency_overrides[get_db] = get_db_override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue