blob: caba429c644d6705dbf779d6a2688b845fe49529 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# from ipm import api
# import shutil
# def test_new():
# api.new("test")
# 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_uninstall():
# api.uninstall("test", is_confirm=True)
# def test_check():
# api.new("test")
# api.check("test")
# shutil.rmtree("test", ignore_errors=True)
|