def test_queue_delete(self): with mock.patch.object(self.transport, 'send', autospec=True) as send_method: send_method.return_value = response.Response(None, None) req = request.Request() core.queue_delete(self.transport, req, 'test') self.assertIn('queue_name', req.params)
def delete(self): req, trans = self.client._request_and_transport() core.queue_delete(trans, req, self._name)