Delete the wrong parameter in the method checkpoints_delete
Change-Id: Iadd1e5de7c07cdc1195b48c565756185131b2be0 Closes-Bug: #1564750
This commit is contained in:
parent
17b7929d16
commit
d1230b3e5b
@ -441,7 +441,7 @@ class ProvidersController(wsgi.Controller):
|
||||
LOG.info(_LI("Checkpoint info retrieved successfully."))
|
||||
return checkpoint
|
||||
|
||||
def checkpoints_delete(self, req, provider_id, checkpoint_id, body):
|
||||
def checkpoints_delete(self, req, provider_id, checkpoint_id):
|
||||
"""Delete a checkpoint."""
|
||||
context = req.environ['smaug.context']
|
||||
|
||||
|
@ -108,7 +108,7 @@ class ProvidersApiTest(base.TestCase):
|
||||
self.controller.checkpoints_delete(
|
||||
req,
|
||||
'2220f8b1-975d-4621-a872-fa9afb43cb6c',
|
||||
'2220f8b1-975d-4621-a872-fa9afb43cb6c', {})
|
||||
'2220f8b1-975d-4621-a872-fa9afb43cb6c')
|
||||
self.assertTrue(moak_delete.called)
|
||||
|
||||
@mock.patch(
|
||||
|
Loading…
Reference in New Issue
Block a user