langflow/src/backend/tests
Cristhian Zanforlin Lousa c1d417adf2
fix: Improve duplicate flow name handling and add comprehensive tests (#8962)
*  (flows.py): Improve flow naming logic to handle duplicate names more effectively and accurately
📝 (test_rename_flow_to_save.py): Add unit tests to ensure correct numbering and handling of duplicate flow names

* [autofix.ci] apply automated fixes

*  (test_rename_flow_to_save.py): refactor test functions to remove unnecessary session parameter and improve code readability

* 📝 (flows.py): improve regex pattern to extract numbers only from flows following a specific naming convention to avoid extracting numbers from the original flow name if it contains parentheses

* [autofix.ci] apply automated fixes

* 📝 (flows.py): improve comments for better readability and understanding of regex usage in extracting numbers from flow names

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-22 17:45:15 +00:00
..
data feat: combine chat history and chat store into a CRUD component (#8323) 2025-06-05 22:19:01 +00:00
integration chore(deps): update pyleak version and activate pyleak_marker in tests (#8905) 2025-07-07 15:23:25 +00:00
locust chore: Enhance Locust load testing and optimize database settings (#6265) 2025-02-17 14:26:36 +00:00
performance tests: Remove unnecessary benchmark markers from server init tests (#5806) 2025-01-20 16:43:46 +00:00
unit fix: Improve duplicate flow name handling and add comprehensive tests (#8962) 2025-07-22 17:45:15 +00:00
.test_durations chore: update test durations (#8550) 2025-06-16 11:05:18 -03:00
__init__.py refactor: improve maintainability and testability of Vertex.build_params (#5808) 2025-03-11 15:34:15 +00:00
api_keys.py ref: Auto-fix ruff rules in tests (#4154) 2024-10-16 15:42:36 +00:00
base.py fix: make sure tests run async (#5842) 2025-01-21 08:16:33 -08:00
conftest.py feat(database): add noop mode with config flag and update related tests (#9054) 2025-07-15 16:52:23 +00:00
constants.py chore: Update supported versions in tests constants (#5569) 2025-01-07 15:43:49 +00:00