#NEWLINE# def test_hasValue( self ) : #NEWLINE# #INDENT# response = ( True , ( 'value' , 'some_value' ) ) #NEWLINE# r = RPCFindResponse ( self ) #NEWLINE# self . assertTrue ( r . hasValue ( ) ) #NEWLINE# response = ( False , 'a node' ) #NEWLINE# r = RPCFindResponse ( response ) #NEWLINE# self . assertFalse ( r . hasValue ( ) )