aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
author苏向夜 <fu050409@163.com>2024-01-21 22:48:32 +0800
committer苏向夜 <fu050409@163.com>2024-01-21 22:48:32 +0800
commita711448ed5d6993f4d2063e354a13af53dd7e050 (patch)
tree2ebfc6efdbbd85325d7a96b12c11fc017082721c /tests
parentd8eecb0f3f76c62c0caa8889ffe046b5d71dd179 (diff)
downloadipm-a711448ed5d6993f4d2063e354a13af53dd7e050.tar.gz
ipm-a711448ed5d6993f4d2063e354a13af53dd7e050.zip
:sparkles: feat(test): add uninstall test
Diffstat (limited to 'tests')
-rw-r--r--tests/test_api.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index ae3c023..6f36981 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -26,3 +26,7 @@ def test_install():
api.build("test")
api.install("./test/dist/test-0.1.0.ipk")
shutil.rmtree("test", ignore_errors=True)
+
+
+def test_uninstall():
+ api.uninstall("test", confirm=True)