LightRAG/.apolo/tests/unit/test_package.py
Taddeus 06d9313a7c Adds unit tests for LightRAG input/output processors and package exports
Introduces comprehensive async unit tests to verify input processing merges extra values correctly and output generation returns expected URLs and ports.

Adds a basic test to confirm package exports remain intact. Cleans up the .gitignore by removing redundant test file ignores to allow test discovery.

Improves code quality and test coverage for the LightRAG app integration.

Relates to MLO-469
2025-11-03 14:44:15 +02:00

13 lines
452 B
Python

from apolo_apps_lightrag import (
LightRAGAppInputs,
LightRAGAppOutputs,
LightRAGInputsProcessor,
LightRAGOutputsProcessor,
)
def test_package_exports() -> None:
assert LightRAGAppInputs.__name__ == "LightRAGAppInputs"
assert LightRAGAppOutputs.__name__ == "LightRAGAppOutputs"
assert LightRAGInputsProcessor.__name__ == "LightRAGInputsProcessor"
assert LightRAGOutputsProcessor.__name__ == "LightRAGOutputsProcessor"