#NEWLINE# def test_verify_checksum_file_missing( self ) : #NEWLINE# #INDENT# with utils . tempdir ( ) as tmpdir : #NEWLINE# #INDENT# self . flags ( instances_path = tmpdir ) #NEWLINE# self . flags ( image_info_filename_pattern = '$instances_path/%(image)s.info' , group = 'libvirt' ) #NEWLINE# ( fname , info_fname , testdata ) = self . _make_checksum ( tmpdir ) #NEWLINE# image_cache_manager = imagecache . ImageCacheManager ( ) #NEWLINE# res = image_cache_manager . _verify_checksum ( 'aaa' , fname ) #NEWLINE# self . assertIsNone ( res ) #NEWLINE# self . assertTrue ( os . path . exists ( info_fname ) )