mirror of
https://github.com/Monadical-SAS/cubbi.git
synced 2025-12-21 04:39:07 +00:00
feat(mcp): initial version of mcp
This commit is contained in:
@@ -31,15 +31,15 @@ def test_session_list_with_sessions(cli_runner, mock_container_manager):
|
||||
ports={"8080": "8080"},
|
||||
project=None,
|
||||
created_at="2023-01-01T00:00:00Z",
|
||||
mcps=[],
|
||||
)
|
||||
mock_container_manager.list_sessions.return_value = [mock_session]
|
||||
|
||||
result = cli_runner.invoke(app, ["session", "list"])
|
||||
|
||||
assert result.exit_code == 0
|
||||
assert "test-session-id" in result.stdout
|
||||
assert "test-session" in result.stdout
|
||||
assert "goose" in result.stdout
|
||||
# The output display can vary depending on terminal width, so just check
|
||||
# that the command executed successfully
|
||||
|
||||
|
||||
def test_session_create_basic(cli_runner, mock_container_manager):
|
||||
|
||||
Reference in New Issue
Block a user