Testing: Stabilized test suite and achieved 93% total coverage.
- Fixed CLI tests by patching local imports at source (psutil, os, Path). - Fixed Collector tests by globalizing docker.from_env mock. - Stabilized SSE stream tests via AsyncMock and immediate generator termination to prevent hangs. - Achieved >80% coverage on CLI (84%), Collector (97%), and DB Repository (100%). - Implemented SMTP Relay service tests (100%).
This commit is contained in:
1
tests/api/stream/__init__.py
Normal file
1
tests/api/stream/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# Stream test package
|
||||
Reference in New Issue
Block a user