Skip to content

"Vibe-Trading: Your Personal Trading Agent"

fix: update cli init test for Z.ai provider insertion

warren618c74a059afb79
diff --git a/agent/tests/test_cli_init.py b/agent/tests/test_cli_init.py
index 0e4d85e8b..bebfc2783 100644
--- a/agent/tests/test_cli_init.py
+++ b/agent/tests/test_cli_init.py
@@ -81,7 +81,7 @@ class TestCliInit:
env_path = tmp_path / ".env"
with patch.object(cli, "_INIT_ENV_PATH", env_path), \
- patch.object(cli.IntPrompt, "ask", return_value=11), \
+ patch.object(cli.IntPrompt, "ask", return_value=12), \
patch.object(
cli.Prompt,
"ask",
@@ -89,6 +89,7 @@ class TestCliInit:
"http://localhost:11434/v1",
"qwen2.5:32b",
"",
+ "",
],
):
result = cli.cmd_init()