langflow/tests
Gabriel Luiz Freitas Almeida ba23f93463
Refactor code and fix database issues (#1484)
* Refactor chat.py for improved readability and maintainability

* Add imports and fix formatting issues

* Refactor database connection in Alembic env.py

* Add nullable columns to tables and fix foreign key constraint

* Update sqlalchemy logging level to DEBUG in alembic.ini

* Add connection and inspector objects for database reflection

* Refactor alembic initialization and migration process

* Refactor version option in main_entry_point function

* Remove pre-commit hook and format code

* Fix database inspector type hinting

* Add unique constraints and fix credential table
2024-02-29 15:22:14 -03:00
..
data 🐛 fix(flows.py): remove unused import statement to improve code cleanliness and maintainability 2023-12-12 16:46:41 -03:00
locust Reapply "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes" 2024-02-05 19:02:34 -03:00
__init__.py feat(tests): add __init__.py and utils.py files to tests directory for test setup and utility functions 2023-09-05 12:24:43 -03:00
conftest.py 🐛 fix(flows.py): remove unused import statement to improve code cleanliness and maintainability 2023-12-12 16:46:41 -03:00
test_api_key.py ruff format 2023-11-13 18:32:34 -03:00
test_cache.py Fix assertion in test_build_graph 2023-12-04 15:44:28 -03:00
test_cache_manager.py Change all Services names from Manager to Service 2023-09-15 17:41:39 -03:00
test_cli.py Fix test_superuser assertion 2023-12-11 14:46:37 -03:00
test_creators.py 🔧 chore(conftest.py): refactor client fixture to use dependency overrides for session and add session fixture for creating a session with an in-memory SQLite database 2023-09-22 11:03:17 -03:00
test_custom_component.py Reapply "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes" 2024-02-05 19:02:34 -03:00
test_custom_types.py ruff format 2023-11-13 18:32:34 -03:00
test_database.py Fix model_dump method call in test_database.py 2023-11-22 08:22:38 -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 Refactor code and fix database issues (#1484) 2024-02-29 15:22:14 -03:00
test_frontend_nodes.py Remove redundant code and update default values 2023-12-10 00:08:28 -03:00
test_graph.py 🐛 fix(flows.py): remove unused import statement to improve code cleanliness and maintainability 2023-12-12 16:46:41 -03:00
test_loading.py Refactor flow loading and processing 2023-12-17 21:27:07 -03:00
test_login.py ruff format 2023-11-13 18:32:34 -03:00
test_process.py Makes build method async to support async in CC 2023-11-23 09:36:15 -03:00
test_prompts_template.py Fix tests 2024-02-28 13:17:40 -03:00
test_setup_superuser.py Fix formatting issues in code 2023-12-05 18:39:20 -03:00
test_template.py Reapply "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes" 2024-02-05 19:02:34 -03:00
test_user.py Fix last_login_at default value 2023-12-04 15:44:30 -03:00
test_validate_code.py formatting 2023-03-31 14:06:40 -03:00
test_websocket.py ruff format 2023-11-13 18:32:34 -03:00
utils.py 🐛 fix(basic_example.json): change value of "value" key from "abc" to null to remove hardcoded value and improve flexibility 2023-09-22 11:06:25 -03:00