#NEWLINE# def testFileEntryExistsByPathSpec( self ) : #NEWLINE# #INDENT# 'Test the file entry exists by path specification functionality.' #NEWLINE# file_system = cpio_file_system . CPIOFileSystem ( self . _resolver_context ) #NEWLINE# self . assertIsNotNone ( file_system ) #NEWLINE# file_system . Open ( self . _cpio_path_spec ) #NEWLINE# path_spec = cpio_path_spec . CPIOPathSpec ( location = '/syslog' , parent = path_spec . _os_path_spec ) #NEWLINE# self . assertTrue ( file_system . FileEntryExistsByPathSpec ( path_spec ) ) #NEWLINE# path_spec = cpio_path_spec . CPIOPathSpec ( location = '/bogus' , parent = self . _os_path_spec ) #NEWLINE# self . assertFalse ( file_system . FileEntryExistsByPathSpec ( path_spec ) ) #NEWLINE# file_system . Close ( )