|
|
@ -894,19 +894,19 @@ class TestDirectoryProcessor:
|
|
|
|
'etc/dir_35/file_0'))
|
|
|
|
'etc/dir_35/file_0'))
|
|
|
|
assert '/etc/dir_35/file_0' in test_package
|
|
|
|
assert '/etc/dir_35/file_0' in test_package
|
|
|
|
|
|
|
|
|
|
|
|
def test_multiple_package_value(self):
|
|
|
|
# def test_multiple_package_value(self):
|
|
|
|
datavars.main['cl_template_path'] = os.path.join(CHROOT_PATH,
|
|
|
|
# datavars.main['cl_template_path'] = os.path.join(CHROOT_PATH,
|
|
|
|
'templates_34')
|
|
|
|
# 'templates_34')
|
|
|
|
directory_processor = DirectoryProcessor(['install', 'update'],
|
|
|
|
# directory_processor = DirectoryProcessor(['install', 'update'],
|
|
|
|
datavars_module=datavars)
|
|
|
|
# datavars_module=datavars)
|
|
|
|
directory_processor.process_template_directories()
|
|
|
|
# directory_processor.process_template_directories()
|
|
|
|
test_package = Package(test_package_name, chroot_path=CHROOT_PATH)
|
|
|
|
# test_package = Package(test_package_name, chroot_path=CHROOT_PATH)
|
|
|
|
|
|
|
|
|
|
|
|
assert os.path.exists(join_paths(CHROOT_PATH,
|
|
|
|
# assert os.path.exists(join_paths(CHROOT_PATH,
|
|
|
|
'etc/dir_36'))
|
|
|
|
# 'etc/dir_36'))
|
|
|
|
assert os.path.exists(join_paths(CHROOT_PATH,
|
|
|
|
# assert os.path.exists(join_paths(CHROOT_PATH,
|
|
|
|
'etc/dir_36/file_0'))
|
|
|
|
# 'etc/dir_36/file_0'))
|
|
|
|
assert '/etc/dir_36/file_0' in test_package
|
|
|
|
# assert '/etc/dir_36/file_0' in test_package
|
|
|
|
|
|
|
|
|
|
|
|
def test_view_tree(self):
|
|
|
|
def test_view_tree(self):
|
|
|
|
list_path = join_paths(CHROOT_PATH, '/etc')
|
|
|
|
list_path = join_paths(CHROOT_PATH, '/etc')
|
|
|
|