aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author苏向夜 <fu050409@163.com>2024-03-08 11:43:27 +0800
committer苏向夜 <fu050409@163.com>2024-03-08 11:43:27 +0800
commit8a77151934826ee71d5862fbb08fdb6e20fa0bc6 (patch)
tree6c8bbd510b0d18903456df38424eb00d37ff4e8d
parente21f0d49a7b895df9cad59e3b344fff8b3cf3657 (diff)
downloadipm-8a77151934826ee71d5862fbb08fdb6e20fa0bc6.tar.gz
ipm-8a77151934826ee71d5862fbb08fdb6e20fa0bc6.zip
test(api): add new api test
-rw-r--r--tests/test_api.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index caba429..490d192 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -1,11 +1,11 @@
-# from ipm import api
+from ipm import api
-# import shutil
+import shutil
-# def test_new():
-# api.new("test")
-# shutil.rmtree("test", ignore_errors=True)
+def test_new():
+ api.new("test")
+ shutil.rmtree("test", ignore_errors=True)
# def test_build():