Debian Codegraph @

testsuite/tests/get/unpack-in-place/test.py

raw
1 """
2 Test init command produced artifacts and options
3 """
4
5 from drivers.alr import run_alr
6 from drivers.asserts import assert_eq
7 from drivers.helpers import compare, contents
8
9 # Get crate from tarball and check contents
10 run_alr('get', 'libhello=1.0.0-tarball')
11 compare(contents('libhello_1.0.0_filesystem'),
12 ['libhello_1.0.0_filesystem/alire',
13 'libhello_1.0.0_filesystem/alire.toml',
14 'libhello_1.0.0_filesystem/alire/alire.lock',
15 'libhello_1.0.0_filesystem/alire/config.toml',
16 'libhello_1.0.0_filesystem/config',
17 'libhello_1.0.0_filesystem/config/libhello_config.ads',
18 'libhello_1.0.0_filesystem/config/libhello_config.gpr',
19 'libhello_1.0.0_filesystem/config/libhello_config.h',
20 'libhello_1.0.0_filesystem/libhello.gpr',
21 'libhello_1.0.0_filesystem/src',
22 'libhello_1.0.0_filesystem/src/libhello.adb',
23 'libhello_1.0.0_filesystem/src/libhello.ads',
24 ])
25
26 print('SUCCESS')