diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_api.py | 37 |
1 files changed, 13 insertions, 24 deletions
diff --git a/tests/test_api.py b/tests/test_api.py index 490d192..c9e9bff 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -8,31 +8,20 @@ def test_new(): 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_install(): -# api.new("test") -# api.build("test") -# api.install("./test/dist/test-0.1.0.ipk") -# shutil.rmtree("test", ignore_errors=True) +def test_build(): + api.new("test") + api.build("test") + shutil.rmtree("test", ignore_errors=True) -# def test_uninstall(): -# api.uninstall("test", is_confirm=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_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) |
