aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/test_api.py
diff options
context:
space:
mode:
author苏向夜 <fu050409@163.com>2024-01-23 20:56:09 +0800
committer苏向夜 <fu050409@163.com>2024-01-23 20:56:09 +0800
commit1eb8550741bb3558e7722872912e6cf8c3a2b212 (patch)
tree95a0226d6f19db82f483a8c45e7dd8d779f50841 /tests/test_api.py
parentdd958a771c0c4263a03c2dfd50bddaabe0f31a04 (diff)
downloadipm-1eb8550741bb3558e7722872912e6cf8c3a2b212.tar.gz
ipm-1eb8550741bb3558e7722872912e6cf8c3a2b212.zip
:sparkles: feat(ci): add check api test
Diffstat (limited to 'tests/test_api.py')
-rw-r--r--tests/test_api.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index 6f36981..9305b98 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -30,3 +30,9 @@ def test_install():
def test_uninstall():
api.uninstall("test", confirm=True)
+
+
+def test_check():
+ api.new("test")
+ api.check("test")
+ shutil.rmtree("test", ignore_errors=True)