Skip to content

Commit

Permalink
added command options to cli test
Browse files Browse the repository at this point in the history
Signed-off-by: Vlad <Vlad>
  • Loading branch information
Vlad authored and Vlad committed Jun 28, 2024
1 parent 2bf5c75 commit 763b65c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions package/tests/test_launchers/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,38 @@ def mock_project_path(mocker):
"extra_params": {"extra_param": "param"},
},
),
(
[
"viz",
"run",
"--host",
"8.8.8.8",
"--port",
"4142",
"--no-browser",
"--save-file",
"save_dir",
"-p",
"data_science",
"-e",
"local",
"--params",
"extra_param=param",
],
{
"host": "8.8.8.8",
"port": 4142,
"load_file": None,
"save_file": "save_dir",
"pipeline_name": "data_science",
"env": "local",
"project_path": "testPath",
"autoreload": False,
"include_hooks": False,
"package_name": None,
"extra_params": {"extra_param": "param"},
},
),
(
["viz", "run", "--include-hooks"],
{
Expand Down

0 comments on commit 763b65c

Please sign in to comment.