test: move area_cli tests into cli directory (#3842)

* test: move area_cli tests into cli directory

* test: include research CLI status in cli test move
This commit is contained in:
Alexandre Teixeira
2026-06-11 18:01:14 +01:00
committed by GitHub
parent 3e65326c3f
commit a79c0bd369
29 changed files with 7 additions and 6 deletions
@@ -0,0 +1,13 @@
"""Regression: logs CLI _resolve must tolerate a non-string name.
`_resolve` did `name in p.name` and `p.name == name`; a non-string `name`
(e.g. None) raised TypeError once any *.log file existed. Non-strings now
return None (no match).
"""
from tests.helpers.cli_loader import load_script
def test_non_string_name_returns_none():
cli = load_script("odysseus-logs")
assert cli._resolve(None) is None
assert cli._resolve(123) is None