Fix parameter miss in test_snapshot_metadata test case
Exception.SnapshotNotFound exception should be passed snapshot_id parameter, but the test case didn't pass it when raising this exception. Change-Id: Ic9b8cf7b647933b847a9602752ca87d141cda09e
This commit is contained in:
parent
3b10c3fde6
commit
1addd2260b
|
@ -126,7 +126,7 @@ def return_volume(context, volume_id):
|
|||
|
||||
|
||||
def return_snapshot_nonexistent(context, snapshot_id):
|
||||
raise exception.SnapshotNotFound('bogus test message')
|
||||
raise exception.SnapshotNotFound(snapshot_id=snapshot_id)
|
||||
|
||||
|
||||
def fake_update_snapshot_metadata(self, context, snapshot, diff):
|
||||
|
|
Loading…
Reference in New Issue