Skip to content

Commit 22567d0

Browse files
authored
Update test_model_server.py
1 parent 2be5474 commit 22567d0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/unit/test_model_server.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,11 +279,10 @@ def test_install_requirements(check_call):
279279
assert i in check_call.call_args.args[0]
280280

281281

282-
@patch("subprocess.check_call", side_effect=subprocess.CalledProcessError(0, "cmd"))
282+
@patch("subprocess.check_call", side_effect=subprocess.CalledProcessError(0, "cmd"))
283283
def test_install_requirements_installation_failed(check_call):
284284
with pytest.raises(ValueError) as e:
285285
torchserve._install_requirements()
286-
287286
assert "failed to install required packages" in str(e.value)
288287

289288

0 commit comments

Comments
 (0)