#NEWLINE# def runTest( self ) : #NEWLINE# #INDENT# if isinstance ( self . url , tuple ) : #NEWLINE# #INDENT# ( agent , url ) = self . url #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# url = self . url #NEWLINE# agent = agent . agent #NEWLINE# #UNINDENT# if self . good : #NEWLINE# #INDENT# self . assertTrue ( self . parser . can_fetch ( agent , url ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . assertFalse ( self . parser . can_fetch ( agent , url ) )