diff options
| author | 2024-01-17 16:24:57 +0800 | |
|---|---|---|
| committer | 2024-01-17 16:24:57 +0800 | |
| commit | bb078f0215891cc825699e14892f1625df3d2312 (patch) | |
| tree | 52c6426d37c6ca3818ba3d2ee12034db80432b7b | |
| parent | a066ba06d05474b054a2c47ddfee09f4a9b3c57f (diff) | |
| download | ipm-bb078f0215891cc825699e14892f1625df3d2312.tar.gz ipm-bb078f0215891cc825699e14892f1625df3d2312.zip | |
fix(test): add main()
| -rw-r--r-- | tests/test-api.py | 2 |
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 |
