Skip to content

Commit f6273a0

Browse files
[pre-commit.ci] Add auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3742e12 commit f6273a0

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

tests/vec_inf/cli/test_cli.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,14 +246,20 @@ def apply_base_patches(base_patches):
246246

247247

248248
def test_launch_command_success(
249-
runner, mock_launch_output, path_exists, debug_helper, mock_truediv, test_paths, base_patches
249+
runner,
250+
mock_launch_output,
251+
path_exists,
252+
debug_helper,
253+
mock_truediv,
254+
test_paths,
255+
base_patches,
250256
):
251257
"""Test successful model launch with minimal required arguments."""
252258
with ExitStack() as stack:
253259
# Apply all base patches
254260
for patch_obj in base_patches:
255261
stack.enter_context(patch_obj)
256-
262+
257263
# Apply specific patches for this test
258264
mock_run = stack.enter_context(patch("vec_inf.client._utils.run_bash_command"))
259265
stack.enter_context(patch("pathlib.Path.exists", new=path_exists))
@@ -270,14 +276,20 @@ def test_launch_command_success(
270276

271277

272278
def test_launch_command_with_json_output(
273-
runner, mock_launch_output, path_exists, debug_helper, mock_truediv, test_paths, base_patches
279+
runner,
280+
mock_launch_output,
281+
path_exists,
282+
debug_helper,
283+
mock_truediv,
284+
test_paths,
285+
base_patches,
274286
):
275287
"""Test JSON output format for launch command."""
276288
with ExitStack() as stack:
277289
# Apply all base patches
278290
for patch_obj in base_patches:
279291
stack.enter_context(patch_obj)
280-
292+
281293
# Apply specific patches for this test
282294
mock_run = stack.enter_context(patch("vec_inf.client._utils.run_bash_command"))
283295
stack.enter_context(patch("pathlib.Path.exists", new=path_exists))

0 commit comments

Comments
 (0)