diff options
| author | 2024-03-06 20:17:15 +0800 | |
|---|---|---|
| committer | 2024-03-06 20:17:15 +0800 | |
| commit | 57e639f755aa97d0952e136dc6925fd38962a396 (patch) | |
| tree | f84b4e88c9734e67470feb254276e3b815d07595 /tests | |
| parent | e10be15919500ec22c07e6c93f04c3c52d0d2bc1 (diff) | |
| download | ipm-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.py | 50 |
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) |
