Implemented the next missing parity slice around agent configurations.
This commit is contained in:
@@ -213,6 +213,14 @@ class MainCliTests(unittest.TestCase):
|
||||
self.assertEqual(args.command, 'token-budget')
|
||||
self.assertEqual(args.cwd, '.')
|
||||
|
||||
def test_parser_accepts_agents_command(self) -> None:
|
||||
parser = build_parser()
|
||||
args = parser.parse_args(['agents', 'reviewer', '--cwd', '.', '--all'])
|
||||
self.assertEqual(args.command, 'agents')
|
||||
self.assertEqual(args.agent_type, 'reviewer')
|
||||
self.assertTrue(args.all)
|
||||
self.assertEqual(args.cwd, '.')
|
||||
|
||||
def test_parser_accepts_team_runtime_commands(self) -> None:
|
||||
parser = build_parser()
|
||||
args = parser.parse_args(['team-create', 'reviewers', '--member', 'alice', '--cwd', '.'])
|
||||
|
||||
Reference in New Issue
Block a user