#NEWLINE# def _check( self , GET , result ) : #NEWLINE# #INDENT# 'Assert that a request with ``GET`` params gives ``result``' #NEWLINE# request = Mock ( ) #NEWLINE# request . GET = GET #NEWLINE# self . assertEqual ( self . func ( request ) , result )