#NEWLINE# @ requests_mock . Mocker ( ) #NEWLINE# def test_mocker_patch( self , m ) : #NEWLINE# #INDENT# mock_obj = m . patch ( self . URL , text = self . TEXT ) #NEWLINE# self . assertResponse ( requests . patch ( m . URL ) ) #NEWLINE# self . assertTrue ( mock_obj . called )