🔧 chore(conftest.py): refactor client fixture to use dependency overrides for session and add session fixture for creating a session with an in-memory SQLite database

🔧 chore(conftest.py): add distributed_env fixture to set up environment variables for distributed testing
🔧 chore(conftest.py): add distributed_client fixture for distributed testing with Celery
🔧 chore(conftest.py): remove unused imports and fixtures
🔧 chore(test_cache.py): remove unused client fixture from test_build_graph
🔧 chore(test_creators.py): remove unused client fixture from test_lang_chain_type_creator_to_dict
🔧 chore(test_database.py): remove unused client fixture from test_download_file
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-09-22 11:03:17 -03:00
commit c88f9bf8a0
4 changed files with 70 additions and 30 deletions

View file

@ -179,7 +179,11 @@ def test_upload_file(
def test_download_file(
client: TestClient, session: Session, json_flow, active_user, logged_in_headers
client: TestClient,
session: Session,
json_flow,
active_user,
logged_in_headers,
):
flow = orjson.loads(json_flow)
data = flow["data"]