Skip to content

Commit 39f4b77

Browse files
committed
fix: CLI test exit code and upgrade deps for Python 3.14
- Fix test_main() to expect exit code 2 (Click behavior for missing subcommand) - Upgrade uv.lock dependencies for Python 3.14 compatibility (rpds-py 0.30.0, etc.)
1 parent f9b6df5 commit 39f4b77

2 files changed

Lines changed: 2699 additions & 1643 deletions

File tree

src/negmas/tests/test_cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ def test_main():
1111
runner = CliRunner()
1212
result = runner.invoke(main, [])
1313
assert len(result.output) > 0
14-
assert result.exit_code == 0
14+
# Exit code 2 is expected when no subcommand is provided (shows usage)
15+
assert result.exit_code == 2
1516

1617

1718
def test_negotiate_app_nstpes():

0 commit comments

Comments
 (0)