#NEWLINE# def test_is_1to1_related_to_request( self ) : #NEWLINE# #INDENT# request = RequestMinFactory . create ( ) #NEWLINE# resp = models . Response . objects . create ( status_code = 200 , request = request ) #NEWLINE# self . assertEqual ( request . response , resp )