aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
author苏向夜 <fu050409@163.com>2024-03-06 20:17:15 +0800
committer苏向夜 <fu050409@163.com>2024-03-06 20:17:15 +0800
commit57e639f755aa97d0952e136dc6925fd38962a396 (patch)
treef84b4e88c9734e67470feb254276e3b815d07595 /tests
parente10be15919500ec22c07e6c93f04c3c52d0d2bc1 (diff)
downloadipm-57e639f755aa97d0952e136dc6925fd38962a396.tar.gz
ipm-57e639f755aa97d0952e136dc6925fd38962a396.zip
refactor(ipm): prepare to rewrite and refactor new/init apiv0.2.0-alpha.1
Diffstat (limited to 'tests')
-rw-r--r--tests/test_api.py50
1 files changed, 25 insertions, 25 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index f495ef5..caba429 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -1,38 +1,38 @@
-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():
- api.new("test")
- api.build("test")
- shutil.rmtree("test", ignore_errors=True)
+# def test_build():
+# api.new("test")
+# api.build("test")
+# shutil.rmtree("test", ignore_errors=True)
-def test_extract():
- api.new("test")
- api.build("test")
- api.extract("./test/dist/test-0.1.0.ipk")
- shutil.rmtree("test", ignore_errors=True)
+# def test_extract():
+# api.new("test")
+# api.build("test")
+# api.extract("./test/dist/test-0.1.0.ipk")
+# shutil.rmtree("test", ignore_errors=True)
-def test_install():
- api.new("test")
- api.build("test")
- api.install("./test/dist/test-0.1.0.ipk")
- shutil.rmtree("test", ignore_errors=True)
+# def test_install():
+# api.new("test")
+# api.build("test")
+# api.install("./test/dist/test-0.1.0.ipk")
+# shutil.rmtree("test", ignore_errors=True)
-def test_uninstall():
- api.uninstall("test", is_confirm=True)
+# def test_uninstall():
+# api.uninstall("test", is_confirm=True)
-def test_check():
- api.new("test")
- api.check("test")
- shutil.rmtree("test", ignore_errors=True)
+# def test_check():
+# api.new("test")
+# api.check("test")
+# shutil.rmtree("test", ignore_errors=True)