LightRAG/tests
chengjie 276f4b4a82 fix: resolve ruff format check failure in test file
Why this change is needed:
The CI lint-and-format check is failing due to a line length violation
in test_workspace_lock_bugfixes.py line 73. The assert statement exceeds
the maximum line length enforced by ruff formatter.

How it solves it:
Split the long assert statement into multiple lines following Python's
continuation syntax, making it compliant with ruff's line length rules.

Impact:
- CI lint-and-format check will now pass
- Code readability is improved with proper line breaks
- No functional changes to test logic

Testing:
Verified with: uv run pre-commit run --files tests/test_workspace_lock_bugfixes.py
Result: All checks passed (ruff-format, ruff linting)
2025-11-11 09:18:33 +08:00
..
test_aquery_data_endpoint.py Fix conditional logic in streaming response parser of unit test 2025-09-27 21:43:46 +08:00
test_curl_aquery_data.sh Fix linting 2025-10-06 04:57:11 +08:00
test_finalization_cleanup.py fix: Resolve pre-commit linting failures in PR1 2025-11-11 00:52:48 +08:00
test_graph_storage.py Initialize shared storage for all graph storage types in graph unit test 2025-11-06 19:24:12 +08:00
test_lightrag_ollama_chat.py clean comments and unused libs 2025-02-18 21:12:06 +01:00
test_postgres_retry_integration.py Refactor PostgreSQL retry config to use centralized configuration 2025-10-10 03:44:13 +08:00
test_workspace_lock_bugfixes.py fix: resolve ruff format check failure in test file 2025-11-11 09:18:33 +08:00
test_workspace_locks.py style: apply code formatting to pass pre-commit checks 2025-11-11 00:10:54 +08:00