ref: Remove autouse from pytest client fixture (#4158)

Remove autouse from pytest client fixture
This commit is contained in:
Christophe Bornet 2024-10-16 00:55:10 +02:00 • committed by GitHub
commit 047077cee4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 17 additions and 190 deletions

View file

@ -273,7 +273,7 @@ def json_memory_chatbot_no_llm():
return pytest.MEMORY_CHATBOT_NO_LLM.read_text()
@pytest.fixture(name="client", autouse=True)
@pytest.fixture(name="client")
async def client_fixture(session: Session, monkeypatch, request, load_flows_dir):
# Set the database url to a test database
if "noclient" in request.keywords: