#NEWLINE# def _check_hasFrameFalse( self , test , expect ) : #NEWLINE# #INDENT# '\n        Harness to test if the FrameSet.hasFrame call works properly.\n        :param test: the string to pass to FrameSet\n        :param expect: the expected list of values that FrameSet will hold\n        :return: None\n        ' #NEWLINE# f = FrameSet ( test ) #NEWLINE# if ( ( not self ) and ( not expect ) ) : #NEWLINE# #INDENT# self . assertFalse ( f . hasFrame ( 1 ) ) #NEWLINE# return #NEWLINE# #UNINDENT# i = ( max ( expect ) + 1 ) #NEWLINE# m = 'FrameSet("{0}").hasFrame({1}) != {2}: got {3}' #NEWLINE# r = f . hasFrame ( i ) #NEWLINE# self . assertFalse ( r , m . format ( test , i , ( i in expect ) , r ) ) #NEWLINE# m = 'FrameSet("{0}").frame({1}) returns {2}: got {3}' #NEWLINE# self . assertIsInstance ( r , bool , m . format ( test , i , bool , type ( r ) ) )