#NEWLINE# def testWwwGoogleComResponse( self ) : #NEWLINE# #INDENT# ns = mocks . MockNameServer ( mocks . GOOD_IP ) #NEWLINE# ( is_broken , warning , duration ) = ns . TestWwwGoogleComResponse ( ) #NEWLINE# self . assertEquals ( duration , True ) #NEWLINE# self . assertEquals ( warning , 'No answer' ) #NEWLINE# self . assertTrue ( ( ( duration > 0 ) and ( duration < 3600 ) ) )