langflow/src/backend/tests/unit
Gabriel Luiz Freitas Almeida 35d81b7e34
feat: Add components_only parameter to filter flows by components in API endpoint (#3932)
* Add fixture for creating flow component in tests

* Add test for reading flows with components only in test_database.py

* Add `components_only` parameter to filter flows by components in API endpoint
2024-09-27 18:18:24 +00:00
..
api feature: add edit option to global variables table (#3712) 2024-09-09 10:48:04 -03:00
base/tools feat: add ComponentTool to support converting Component to Tool (#3412) 2024-08-19 10:05:59 -07:00
components feat: Enhance Data Components and Add SelectData Functionality (#3715) 2024-09-22 18:19:51 +00:00
custom feat: allow passing a Component to the set method (#3597) 2024-08-28 12:31:14 -07:00
events feat: add EventManager to centralize callbacks (#3434) 2024-09-02 15:41:19 +02:00
exceptions feat: Add suggestion message to API exception response (#3149) 2024-08-07 15:26:24 +00:00
graph fix: Handle group nodes in graph sorting (#3929) 2024-09-27 15:26:20 +00:00
initial_setup/starter_projects chore: refactor and add components integration tests (#3607) 2024-09-02 15:21:47 +02:00
inputs fix: pythonfunction component execution (#3747) 2024-09-10 19:17:55 +00:00
io style: Fix type comparison issues in codebase (#3606) 2024-08-29 11:48:15 +00:00
schema fix: update message reload and update langchain-core (#3054) 2024-07-30 13:54:51 +00:00
services/variable feature: add edit option to global variables table (#3712) 2024-09-09 10:48:04 -03:00
utils feat: truncate parsed uploads to prevent database and frontend blocking caused by excessively large files (#3914) 2024-09-27 15:44:05 +00:00
__init__.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_api_key.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_chat_endpoint.py feat: ui build in one single http request (#3020) 2024-08-02 06:53:34 -07:00
test_cli.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_custom_component.py refactor: update ATTR_FUNC_MAPPING and tools to match other tools (#3709) 2024-09-09 22:18:14 +00:00
test_custom_component_with_client.py feat: start using dev mode flag and add exception filter in logger (#3260) 2024-08-09 13:59:49 +00:00
test_data_class.py refactor: add fixtures for client in test files to speed them up (#3490) 2024-08-22 12:08:47 -07:00
test_data_components.py feat: add starter project graphs (#3369) 2024-08-16 12:47:19 -07:00
test_database.py feat: Add components_only parameter to filter flows by components in API endpoint (#3932) 2024-09-27 18:18:24 +00:00
test_endpoints.py chore: refactor and add components integration tests (#3607) 2024-09-02 15:21:47 +02:00
test_experimental_components.py fix: pythonfunction component execution (#3747) 2024-09-10 19:17:55 +00:00
test_files.py fix: improve file name generation in upload_file function to prevent files with the same name (#3550) 2024-08-26 18:35:19 +00:00
test_frontend_nodes.py fix: textarea with password visual bug (#3739) 2024-09-10 19:20:50 +00:00
test_helper_components.py fix: url component output types and id generator component (#3740) 2024-09-10 12:33:08 +00:00
test_initial_setup.py fix: starter projects refresh don't add new fields (#3110) 2024-07-31 13:43:00 +00:00
test_kubernetes_secrets.py refactor: change typing annotations in tests folder (#3594) 2024-08-28 19:45:19 +00:00
test_loading.py refactor: add fixtures for client in test files to speed them up (#3490) 2024-08-22 12:08:47 -07:00
test_logger.py refactor: add fixtures for client in test files to speed them up (#3490) 2024-08-22 12:08:47 -07:00
test_login.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_messages.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_messages_endpoints.py chore: refactor and add components integration tests (#3607) 2024-09-02 15:21:47 +02:00
test_process.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_schema.py refactor: update flaky tests in test_schema.py (#3933) 2024-09-27 16:45:26 +00:00
test_setup_superuser.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_telemetry.py refactor: move tests folder structure and update pytest commands (#2785) 2024-07-18 15:19:43 +00:00
test_template.py refactor: change typing annotations in tests folder (#3594) 2024-08-28 19:45:19 +00:00
test_user.py chore: refactor and add components integration tests (#3607) 2024-09-02 15:21:47 +02:00
test_validate_code.py refactor: add fixtures for client in test files to speed them up (#3490) 2024-08-22 12:08:47 -07:00
test_version.py feat: expose main_version on /version endpoint (#2944) 2024-07-26 13:56:18 +02:00
test_webhook.py chore: refactor and add components integration tests (#3607) 2024-09-02 15:21:47 +02:00