@@ -12,13 +12,15 @@ def test_should_execute_create_experiment_command_when_cli_singlenode_command_wa
1212 "--projectHandle testHandle " \
1313 "--container testContainer " \
1414 "--machineType testType " \
15- "--command testCommand"
15+ "--command testCommand " \
16+ "--workspaceUrl wUrl"
1617 expected_kwargs = {"name" : u"exp1" ,
1718 "projectHandle" : u"testHandle" ,
1819 "container" : u"testContainer" ,
1920 "machineType" : u"testType" ,
2021 "command" : u"testCommand" ,
2122 "experimentTypeId" : constants .ExperimentType .SINGLE_NODE ,
23+ "workspaceUrl" : "wUrl" ,
2224 }
2325
2426 result = runner .invoke (cli .cli , command .split ())
@@ -41,7 +43,8 @@ def test_should_execute_create_experiment_command_when_cli_multinode_mpi_command
4143 "--parameterServerContainer testParameterServerContainer " \
4244 "--parameterServerMachineType testParameterServerMachineType " \
4345 "--parameterServerCommand testParameterServerCommand " \
44- "--parameterServerCount 3"
46+ "--parameterServerCount 3 " \
47+ "--workspaceUrl wUrl"
4548 expected_kwargs = {"name" : u"exp1" ,
4649 "projectHandle" : u"testHandle" ,
4750 "experimentTypeId" : constants .ExperimentType .MPI_MULTI_NODE ,
@@ -53,6 +56,7 @@ def test_should_execute_create_experiment_command_when_cli_multinode_mpi_command
5356 "parameterServerMachineType" : u"testParameterServerMachineType" ,
5457 "parameterServerCommand" : u"testParameterServerCommand" ,
5558 "parameterServerCount" : 3 ,
59+ "workspaceUrl" : "wUrl" ,
5660 }
5761
5862 result = runner .invoke (cli .cli , command .split ())
@@ -75,7 +79,8 @@ def test_should_execute_create_experiment_command_when_cli_multinode_grpc_comman
7579 "--parameterServerContainer testParameterServerContainer " \
7680 "--parameterServerMachineType testParameterServerMachineType " \
7781 "--parameterServerCommand testParameterServerCommand " \
78- "--parameterServerCount 3"
82+ "--parameterServerCount 3 " \
83+ "--workspaceUrl wUrl"
7984 expected_kwargs = {"name" : u"exp1" ,
8085 "projectHandle" : u"testHandle" ,
8186 "experimentTypeId" : constants .ExperimentType .GRPC_MULTI_NODE ,
@@ -87,6 +92,7 @@ def test_should_execute_create_experiment_command_when_cli_multinode_grpc_comman
8792 "parameterServerMachineType" : u"testParameterServerMachineType" ,
8893 "parameterServerCommand" : u"testParameterServerCommand" ,
8994 "parameterServerCount" : 3 ,
95+ "workspaceUrl" : "wUrl" ,
9096 }
9197
9298 result = runner .invoke (cli .cli , command .split ())
@@ -104,13 +110,15 @@ def test_should_execute_create_experiment_command_when_cli_create_and_start_sing
104110 "--projectHandle testHandle " \
105111 "--container testContainer " \
106112 "--machineType testType " \
107- "--command testCommand"
113+ "--command testCommand " \
114+ "--workspaceUrl wUrl"
108115 expected_kwargs = {"name" : u"exp1" ,
109116 "projectHandle" : u"testHandle" ,
110117 "container" : u"testContainer" ,
111118 "machineType" : u"testType" ,
112119 "command" : u"testCommand" ,
113120 "experimentTypeId" : constants .ExperimentType .SINGLE_NODE ,
121+ "workspaceUrl" : "wUrl" ,
114122 }
115123
116124 result = runner .invoke (cli .cli , command .split ())
@@ -134,7 +142,8 @@ def test_should_execute_create_experiment_command_when_cli_create_and_start_mult
134142 "--parameterServerContainer testParameterServerContainer " \
135143 "--parameterServerMachineType testParameterServerMachineType " \
136144 "--parameterServerCommand testParameterServerCommand " \
137- "--parameterServerCount 3"
145+ "--parameterServerCount 3 " \
146+ "--workspaceUrl wUrl"
138147 expected_kwargs = {"name" : u"exp1" ,
139148 "projectHandle" : u"testHandle" ,
140149 "experimentTypeId" : constants .ExperimentType .MPI_MULTI_NODE ,
@@ -146,6 +155,7 @@ def test_should_execute_create_experiment_command_when_cli_create_and_start_mult
146155 "parameterServerMachineType" : u"testParameterServerMachineType" ,
147156 "parameterServerCommand" : u"testParameterServerCommand" ,
148157 "parameterServerCount" : 3 ,
158+ "workspaceUrl" : "wUrl" ,
149159 }
150160
151161 result = runner .invoke (cli .cli , command .split ())
0 commit comments