Commit to restore repo files.

packages
Иванов Денис 4 years ago
parent a36aa05bae
commit 34936bfff1

@ -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')

@ -6,6 +6,6 @@ obj /etc/dir/deleted.json 11e3a79fe51cce828d973dba8702adaa 1591356795
dir /etc/dir/subdir dir /etc/dir/subdir
obj /etc/dir/subdir/config.json 506649cf099878124deda2c2452c3693 1591605050 obj /etc/dir/subdir/config.json 506649cf099878124deda2c2452c3693 1591605050
obj /etc/dir/subdir/file 84bcceb2c8e6de79849ea5f3304f2411 1591343236 obj /etc/dir/subdir/file 84bcceb2c8e6de79849ea5f3304f2411 1591343236
obj /etc/dir/file.conf 0b87fea7f5b65cac5012baa2bf647e72 1591196541 obj /etc/dir/file.conf 0b87fea7f5b65cac5012baa2bf647e72 1601290690
dir /etc/dir/dir_1 dir /etc/dir/dir_1
obj /etc/dir/dir_1/config.json 506649cf099878124deda2c2452c3693 1591617024 obj /etc/dir/dir_1/config.json 506649cf099878124deda2c2452c3693 1601290690

Loading…
Cancel
Save