mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-11 08:42:11 +00:00
test(agent): assert coding_selection non-None before subscripting
This commit is contained in:
parent
ad75423f53
commit
2667bb83f2
1 changed files with 1 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ class TestCodingSelection:
|
|||
_git_init(tmp_path)
|
||||
cfg = {"agent": {"coding_context": "on"}}
|
||||
out = cc.coding_selection(platform="cli", cwd=tmp_path, config=cfg)
|
||||
assert out is not None
|
||||
assert out[0] == cc.CODING_TOOLSET
|
||||
|
||||
def test_none_when_inactive(self, tmp_path):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue