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:
Haiwei Xu 2014-09-25 18:46:18 +09:00
parent 3b10c3fde6
commit 1addd2260b
1 changed files with 1 additions and 1 deletions

View File

@ -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):