@@ -209,15 +209,15 @@ def test_subcommand(self,
209209 run_subprocess .assert_called_with (
210210 ['foo' , 'bar' , '--baz' ],
211211 'qux' ,
212- {
213- 'TMP' : sl .tempenv ,
214- 'TEMP' : sl .tempenv ,
215- 'TMPDIR' : sl .tempenv ,
216- },
217212 additional_args = {
218213 'env' : {},
219214 'log_stdout' : sl ._log_stdout
220215 },
216+ env = {
217+ 'TMP' : sl .tempenv ,
218+ 'TEMP' : sl .tempenv ,
219+ 'TMPDIR' : sl .tempenv ,
220+ },
221221 return_output = sl ._log_stdout
222222 )
223223
@@ -245,15 +245,15 @@ def test_create(self,
245245 run_subprocess .assert_called_with (
246246 cmd ,
247247 sl .root_directory ,
248- {
249- 'TMP' : sl .tempenv ,
250- 'TEMP' : sl .tempenv ,
251- 'TMPDIR' : sl .tempenv ,
252- },
253248 additional_args = {
254249 'env' : {},
255250 'log_stdout' : sl ._log_stdout
256251 },
252+ env = {
253+ 'TMP' : sl .tempenv ,
254+ 'TEMP' : sl .tempenv ,
255+ 'TMPDIR' : sl .tempenv ,
256+ },
257257 return_output = sl ._log_stdout
258258 )
259259
@@ -281,15 +281,15 @@ def test_deploy(self,
281281 run_subprocess .assert_called_with (
282282 cmd ,
283283 sl .root_directory ,
284- {
285- 'TMP' : sl .tempenv ,
286- 'TEMP' : sl .tempenv ,
287- 'TMPDIR' : sl .tempenv ,
288- },
289284 additional_args = {
290285 'env' : {},
291286 'log_stdout' : sl ._log_stdout
292287 },
288+ env = {
289+ 'TMP' : sl .tempenv ,
290+ 'TEMP' : sl .tempenv ,
291+ 'TMPDIR' : sl .tempenv ,
292+ },
293293 return_output = sl ._log_stdout
294294 )
295295
@@ -317,15 +317,15 @@ def test_destroy(self,
317317 run_subprocess .assert_called_with (
318318 cmd ,
319319 sl .root_directory ,
320- {
321- 'TMP' : sl .tempenv ,
322- 'TEMP' : sl .tempenv ,
323- 'TMPDIR' : sl .tempenv ,
324- },
325320 additional_args = {
326321 'env' : {},
327322 'log_stdout' : sl ._log_stdout
328323 },
324+ env = {
325+ 'TMP' : sl .tempenv ,
326+ 'TEMP' : sl .tempenv ,
327+ 'TMPDIR' : sl .tempenv ,
328+ },
329329 return_output = sl ._log_stdout
330330 )
331331
@@ -386,15 +386,15 @@ def test_invoke(self,
386386 run_subprocess .assert_called_with (
387387 cmd ,
388388 sl .root_directory ,
389- {
390- 'TMP' : sl .tempenv ,
391- 'TEMP' : sl .tempenv ,
392- 'TMPDIR' : sl .tempenv ,
393- },
394389 additional_args = {
395390 'env' : {},
396391 'log_stdout' : sl ._log_stdout
397392 },
393+ env = {
394+ 'TMP' : sl .tempenv ,
395+ 'TEMP' : sl .tempenv ,
396+ 'TMPDIR' : sl .tempenv ,
397+ },
398398 return_output = sl ._log_stdout
399399 )
400400
@@ -422,15 +422,15 @@ def test_metrics(self,
422422 run_subprocess .assert_called_with (
423423 cmd ,
424424 sl .root_directory ,
425- {
426- 'TMP' : sl .tempenv ,
427- 'TEMP' : sl .tempenv ,
428- 'TMPDIR' : sl .tempenv ,
429- },
430425 additional_args = {
431426 'env' : {},
432427 'log_stdout' : sl ._log_stdout
433428 },
429+ env = {
430+ 'TMP' : sl .tempenv ,
431+ 'TEMP' : sl .tempenv ,
432+ 'TMPDIR' : sl .tempenv ,
433+ },
434434 return_output = sl ._log_stdout
435435 )
436436
@@ -458,15 +458,15 @@ def test_info(self,
458458 run_subprocess .assert_called_with (
459459 cmd ,
460460 sl .root_directory ,
461- {
462- 'TMP' : sl .tempenv ,
463- 'TEMP' : sl .tempenv ,
464- 'TMPDIR' : sl .tempenv ,
465- },
466461 additional_args = {
467462 'env' : {},
468463 'log_stdout' : sl ._log_stdout
469464 },
465+ env = {
466+ 'TMP' : sl .tempenv ,
467+ 'TEMP' : sl .tempenv ,
468+ 'TMPDIR' : sl .tempenv ,
469+ },
470470 return_output = sl ._log_stdout
471471 )
472472 self .assertEqual (result , FOO_JSON )
0 commit comments