langflow/tests
Gabriel Luiz Freitas Almeida b1276028f9 🚨 fix(test_database.py): fix API endpoint URLs to include version number
 feat(test_database.py): add tests for creating, reading, updating, and deleting FlowStyle objects
🚨 fix(test_database.py): fix flow_id type in test_read_flow to be UUID instead of string
🚨 fix(test_database.py): fix HTTP method in test_update_flow from PUT to PATCH
🚨 fix(test_database.py): fix API endpoint URLs in test_update_flow and test_update_nonexistent_flow
🚨 fix(test_database.py): fix HTTP method in test_update_flow_idempotency from PUT to PATCH
🚨 fix(test_database.py): fix API endpoint URLs in test_update_flow_idempotency
🚨 fix(test_database.py): fix HTTP method in test_delete_flow from DELETE to PATCH
🚨 fix(test_database.py): fix API endpoint URLs in test_delete_flow and test_delete_nonexistent_flow
🚨 fix(test_database.py): fix API endpoint URLs in test_read_flows and test_read_empty_flows
The changes in this commit fix the API endpoint URLs to include the version number and fix various HTTP methods. Additionally, tests were added for creating, reading, updating, and deleting FlowStyle objects. The test_read_flow was fixed to use UUID instead of string for the flow_id.

🚨 test(database.py): add tests for CRUD operations on FlowStyle model
This commit adds tests for the CRUD operations on the FlowStyle model. The tests include creating a flow style, reading all flow styles, reading a single flow style, updating a flow style, and deleting a flow style. These tests ensure that the API endpoints for the FlowStyle model are working as expected.
2023-06-06 16:26:00 -03:00
..
data 🎨 refactor(complex_example.json): rename "PythonFunction" to "PythonFunctionTool" and add "description" and "name" fields 2023-05-31 15:40:20 -03:00
conftest.py 🔥 chore(database.py): remove unused code and endpoints related to flows 2023-06-06 16:23:37 -03:00
test_agents_template.py 🚀 chore(server, tests): update API endpoint URLs to include version number 2023-06-06 10:06:40 -03:00
test_cache.py 🚀 chore(server, tests): update API endpoint URLs to include version number 2023-06-06 10:06:40 -03:00
test_cache_manager.py refactor(langflow): reorder imports in multiple files 2023-05-02 23:23:36 +00:00
test_chains_template.py 🚀 chore(server, tests): update API endpoint URLs to include version number 2023-06-06 10:06:40 -03:00
test_creators.py refac: fix linting 2023-04-01 18:03:14 -03:00
test_custom_types.py 🚀 feat(langflow): rename PythonFunction to PythonFunctionTool for better semantics 2023-05-31 15:41:16 -03:00
test_database.py 🚨 fix(test_database.py): fix API endpoint URLs to include version number 2023-06-06 16:26:00 -03:00
test_embeddings_template.py 🔨 refactor(embeddings.py): move openai fields formatting to a separate method 2023-05-28 16:18:33 -03:00
test_endpoints.py 🚀 chore(server, tests): update API endpoint URLs to include version number 2023-06-06 10:06:40 -03:00
test_frontend_nodes.py chore: refactor of template, frontend_node and field 2023-05-27 15:56:46 -03:00
test_graph.py 🚀 chore(server, tests): update API endpoint URLs to include version number 2023-06-06 10:06:40 -03:00
test_llms_template.py API Refactor and structure changes (#449) 2023-06-06 12:52:41 -03:00
test_loading.py 🚀 chore(server, tests): update API endpoint URLs to include version number 2023-06-06 10:06:40 -03:00
test_prompts_template.py 🚀 chore(server, tests): update API endpoint URLs to include version number 2023-06-06 10:06:40 -03:00
test_template.py refac: change docstring parser 2023-04-13 21:39:25 -03:00
test_validate_code.py formatting 2023-03-31 14:06:40 -03:00
test_vectorstore_template.py update endpoint 2023-06-06 10:06:51 -03:00
test_websocket.py 🚀 chore(server, tests): update API endpoint URLs to include version number 2023-06-06 10:06:40 -03:00