예제 #1
0
 def test_call_requests_delete(self, requests_delete):
     rm = RequestMaker(api_path='/', host='host', token='f4k3')
     requests_delete.return_value = MockResponse(200, '')
     rm.delete('/nowhere')
     self.assertTrue(requests_delete.called)
예제 #2
0
 def test_call_requests_delete(self, requests_delete):
     rm = RequestMaker(api_path="/", host="host", token="f4k3")
     requests_delete.return_value = MockResponse(200, "")
     rm.delete("/nowhere")
     self.assertTrue(requests_delete.called)
예제 #3
0
 def test_call_requests_delete(self, requests_delete):
     rm = RequestMaker(api_path='/', host='host', token='f4k3')
     requests_delete.return_value = MockResponse(200, '')
     rm.delete('/nowhere')
     self.assertTrue(requests_delete.called)