From 1eb8550741bb3558e7722872912e6cf8c3a2b212 Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Tue, 23 Jan 2024 20:56:09 +0800 Subject: :sparkles: feat(ci): add check api test --- tests/test_api.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') 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) -- cgit v1.2.3-70-g09d2