Skip to content

Commit 70c943b

Browse files
committed
Fix failining unit test on cover env
1 parent 10f019d commit 70c943b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deepaas/tests/test_cmd.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def test_run(self, m_get_app, m_run_app, m_handle_signals):
3535
run.main()
3636
m_get_app.assert_called_once()
3737
m_run_app.assert_called_with(
38-
m,
38+
mock.ANY,
3939
host="127.0.0.1",
4040
port=5000,
4141
)
@@ -55,7 +55,7 @@ def test_run_custom_ip_port(self, m_get_app, m_run_app, m_handle_signals):
5555
run.main()
5656
m_get_app.assert_called_once()
5757
m_run_app.assert_called_with(
58-
m,
58+
mock.ANY,
5959
host=ip,
6060
port=port,
6161
)
@@ -84,7 +84,7 @@ def test_run_wsk_false(self, m_get_app, m_run_app, m_handle_signals):
8484
run.main()
8585
m_get_app.assert_called_once()
8686
m_run_app.assert_called_with(
87-
m,
87+
mock.ANY,
8888
host="127.0.0.1",
8989
port=5000,
9090
)

0 commit comments

Comments
 (0)