✅ test(database.py): add tests for CRUD operations on Flow model
The new fixtures added to conftest.py are session and client fixtures. These fixtures are used to create a test database and a test client for testing the database. The tests added to test_database.py test the CRUD operations on the Flow model. The tests include creating a flow, reading all flows, reading a single flow, updating a flow, and deleting a flow. These tests ensure that the database is working as expected and that the API endpoints for the Flow model are functioning correctly.
|
||
|---|---|---|
| .. | ||
| data | ||
| conftest.py | ||
| test_agents_template.py | ||
| test_cache.py | ||
| test_cache_manager.py | ||
| test_chains_template.py | ||
| test_creators.py | ||
| test_custom_types.py | ||
| test_database.py | ||
| test_embeddings_template.py | ||
| test_endpoints.py | ||
| test_frontend_nodes.py | ||
| test_graph.py | ||
| test_llms_template.py | ||
| test_loading.py | ||
| test_prompts_template.py | ||
| test_template.py | ||
| test_validate_code.py | ||
| test_vectorstore_template.py | ||
| test_websocket.py | ||