🔧 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:
parent
f8b38ee162
commit
c88f9bf8a0
4 changed files with 70 additions and 30 deletions
|
|
@ -38,7 +38,7 @@ def langchain_objects_are_equal(obj1, obj2):
|
|||
|
||||
|
||||
# Test build_graph
|
||||
def test_build_graph(basic_data_graph):
|
||||
def test_build_graph(client, basic_data_graph):
|
||||
graph = Graph.from_payload(basic_data_graph)
|
||||
assert graph is not None
|
||||
assert len(graph.nodes) == len(basic_data_graph["nodes"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue