langflow/tests
gustavoschaedler a89a9a3267 🔥 refactor(custom.py): remove unused code and class 'CustomComponent_old' to improve code cleanliness and maintainability
🔧 fix(test_custom_component.py): fix formatting issues in test_custom_component.py for better readability
 feat(test_custom_component.py): add import statements for 'patch' and 'MagicMock' to enable mocking in tests
🔬 test(test_custom_component.py): add test for the 'get_function' method of the Component class with valid code and function_entrypoint_name
🔬 test(test_custom_component.py): add test for the 'parse_assign' method of the CodeParser class
🔬 test(test_custom_component.py): add test for the 'get_code_tree' method of the Component class when given incorrect syntax
🔬 test(test_custom_component.py): add test for the '_class_template_validation' method of the CustomComponent class when the code is None
🔬 test(test_custom_component.py): add test for the 'get_function_entrypoint_args' method of the CustomComponent class
🔬 test(test_custom_component.py): add test for the 'get_function_entrypoint_return_type' method of the CustomComponent class
🔬 test(test_custom_component.py): add test for the 'get_main_class_name' method of the CustomComponent class when there is no main class

🔥 refactor(test_custom_component.py): remove commented out code and unused fixtures to improve code readability and maintainability

🔧 refactor(tests): remove commented out test cases and unused imports
 feat(tests): add new test case for list_flows method when there are no flows in the database
 feat(tests): add new test case for build_config method when code is not provided
 feat(tests): add new test case for list_flows method when there are multiple queries to the database
2023-07-26 16:56:21 +01:00
..
data fix: replace old complex_example to fix tests 2023-07-01 09:52:45 -03:00
conftest.py 🔥 refactor(conftest.py): remove unused fixtures and custom chain classes 2023-07-18 01:59:19 +01:00
test_agents_template.py 🚀 feat(test_agents_template.py): add "fileTypes" field to the "path" agent configuration to specify supported file types 2023-07-26 07:43:16 -03:00
test_cache.py 🐛 fix(process.py): caching objects does not depend on is_first_message anymore 2023-06-17 13:34:35 -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 🔥 refactor(conftest.py): remove unused fixtures and custom chain classes 2023-07-18 01:59:19 +01:00
test_creators.py 🔥 refactor(conftest.py): remove unused fixtures and custom chain classes 2023-07-18 01:59:19 +01:00
test_custom_component.py 🔥 refactor(custom.py): remove unused code and class 'CustomComponent_old' to improve code cleanliness and maintainability 2023-07-26 16:56:21 +01:00
test_custom_types.py 🚀 feat(customs.py): add PythonFunction to CUSTOM_NODES 2023-06-06 11:40:39 -03:00
test_database.py 🔥 chore(test_database.py): remove unused test_stress_create_flow function 2023-06-16 19:12:45 -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 🔧 fix(test_endpoints.py): fix import statement for TimeTravelGuideChainNode 2023-07-07 18:25:57 -03:00
test_frontend_nodes.py 🔥 refactor(base.py): remove unused import statement 2023-05-30 23:48:49 -03:00
test_graph.py 🔥 refactor(test_graph.py): remove unused imports and test cases related to specific vertex types 2023-07-07 18:26:00 -03:00
test_llms_template.py 🔥 refactor(conftest.py): remove unused fixtures and custom chain classes 2023-07-18 01:59:19 +01:00
test_loading.py 🔀 refactor(process.py): change load_flow_from_json function signature to accept either a JSON file path or a JSON object 2023-06-19 11:36:43 -03:00
test_process.py 🧪 test(process.py): add tests for process_tweaks function 2023-06-14 07:21:49 -03:00
test_prompts_template.py 🔥 refactor(conftest.py): remove unused fixtures and custom chain classes 2023-07-18 01:59:19 +01:00
test_template.py test(test_template.py): add assertion to check if result is not None 2023-06-23 10:53:53 -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(test_websocket.py): remove unnecessary commented out code and update websocket test input 2023-06-30 17:16:41 -03:00