summaryrefslogtreecommitdiffstatshomepage
path: root/tests/test_api.py
blob: 7136b36ebc52b813a835de345bc4d4da53cd2c62 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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")