in custom_image_cli/validation_tool/validation_tests/check_files.py [0:0]
def check(self):
file_system_test = True
for file_structure_name in self.file_structure_list:
file_structure = [structure for structure in self.file_structure if structure.name == file_structure_name][0]
name = file_structure.name
path = file_structure.relative_location
file_prefixes = file_structure.file_prefixes
if not self.match(name, path, file_prefixes):
file_system_test = False
return file_system_test