diff options
Diffstat (limited to 'tests/test_api.py')
| -rw-r--r-- | tests/test_api.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/test_api.py b/tests/test_api.py new file mode 100644 index 0000000..7136b36 --- /dev/null +++ b/tests/test_api.py @@ -0,0 +1,20 @@ +from ipm import api + + +def test_new(): + api.new("test") + + +def test_build(): + api.new("test") + api.build("test") + + +def test_extract(): + api.build("test") + api.extract("test\\dist\\test-0.1.0.ipk") + + +def test_install(): + api.build("test") + api.install("test\\dist\\test-0.1.0.ipk") |
