oliver-zehentleitner / maity
runner: Tmux.type_line and environment_of are test-only; move them to a test helper (the docstring names a check caller that doesn't exist)
tsk-khejahbqvs4n Open
Audit round 3b (tsk-hgnbapyw7hnh), read at 80fef076. Kind: dead code / docs drift.
What is wrong
Tmux.type_line(cli/src/maity/runner/tmux.py:358-361) has no caller undercli/src; the supervisor callstype_textandsubmititself (supervisor.py:836, 905, 932-935). Onlycli/tests/test_supervisor.py:2910, 2943, 2948use it.Tmux.environment_of(tmux.py:363-372) says "for tests andcheck", but nothing undercli/srccalls it; the only caller istest_supervisor.py:1851.
Proposal
- Move both into a test helper (a subclass or functions in the tests), or keep them on purpose with a docstring that says test-only.
Effort / risk: S. None.