You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TICKET-047: Issue #101 'alloc.__main__ zero coverage' is stale — consolidate tests #113
Issue #101 claims alloc/__main__.py has zero test coverage. This is no
longer true: __main__ is exercised by two test classes, and a third
was added this cycle. The issue should be closed and the duplicate coverage
consolidated.
Evidence
tests/test_cli.py::TestMainModule (line ~803) — 2 tests (import, has main).
Consolidate the __main__ tests into a single tests/test_main.py
(or keep them in test_cli.py since __main__ delegates to cli.main),
removing the duplicates in test_actor_critic.py and test_portfolio.py.
Keep the strongest assertions: delegation identity
(alloc.__main__.main is alloc.cli.main), exit-code propagation, and the
runpy python -m alloc --help invocation.
Resolved: alloc.main now has dedicated coverage (TestMainEntryPoint in tests/test_portfolio.py) in addition to the existing TestMainModule classes. The original 'zero coverage' claim was stale. See PR #114.
Activity
belarusian commentedon Aug 16, 2026
Resolved: alloc.main now has dedicated coverage (TestMainEntryPoint in tests/test_portfolio.py) in addition to the existing TestMainModule classes. The original 'zero coverage' claim was stale. See PR #114.