def testOpenClosePathSpec(self):
    'Test the open and close functionality using a path specification.'
    file_object = cpio_file_io.CPIOFile(self._resolver_context)
    file_object.open(path_spec=self._cpio_path_spec)
    self._TestGetSizeFileObject(file_object)
    file_object.close()
Test the open and close functionality using a path specification.
def testOpenClosePathSpec(self):
    
    file_object = cpio_file_io.CPIOFile(self._resolver_context)
    file_object.open(path_spec=self._cpio_path_spec)
    self._TestGetSizeFileObject(file_object)
    file_object.close()