Fix unit test of ShareSnapshotNotFound
Unit test of ShareSnapshotNotFound isn't executed actually. This patch fixes it. Change-Id: I1210b10998ee9ab2c1642036747f06902239f0be
This commit is contained in:
parent
f1c096418d
commit
efc47cf3cf
@ -385,7 +385,7 @@ class ManilaExceptionResponseCode404(test.TestCase):
|
||||
def test_share_snapshot_not_found(self):
|
||||
# Verify response code for exception.ShareSnapshotNotFound
|
||||
snapshot_id = "fake_snapshot_id"
|
||||
e = exception.VolumeSnapshotNotFound(snapshot_id=snapshot_id)
|
||||
e = exception.ShareSnapshotNotFound(snapshot_id=snapshot_id)
|
||||
self.assertEqual(404, e.code)
|
||||
self.assertIn(snapshot_id, e.msg)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user