#NEWLINE# def testGoogleComResponse( self ) : #NEWLINE# #INDENT# ns = mocks . MockNameServer ( mocks . GOOD_IP ) #NEWLINE# ( is_broken , warning , duration ) = ns . TestGoogleComResponse ( ) #NEWLINE# self . assertEquals ( is_broken , False ) #NEWLINE# self . assertEquals ( warning , 'google.com. is hijacked (66.211.169.65 + 66.211.169.2)' ) #NEWLINE# self . assertTrue ( ( ( self > 0 ) and ( duration < 3600 ) ) )