aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2024-01-17 16:24:57 +0800
committer简律纯 <i@jyunko.cn>2024-01-17 16:24:57 +0800
commitbb078f0215891cc825699e14892f1625df3d2312 (patch)
tree52c6426d37c6ca3818ba3d2ee12034db80432b7b /tests
parenta066ba06d05474b054a2c47ddfee09f4a9b3c57f (diff)
downloadipm-bb078f0215891cc825699e14892f1625df3d2312.tar.gz
ipm-bb078f0215891cc825699e14892f1625df3d2312.zip
fix(test): add main()
Diffstat (limited to 'tests')
-rw-r--r--tests/test-api.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-api.py b/tests/test-api.py
index 3687632..4332886 100644
--- a/tests/test-api.py
+++ b/tests/test-api.py
@@ -60,3 +60,5 @@ def test_main_commands(test_id, args, expected_call, mock_sys_argv, mock_api_fun
elif expected_call[0] == "error":
captured = capsys.readouterr()
assert "error: unrecognized arguments" in captured.err
+
+pytest.main() \ No newline at end of file