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:
daiki kato 2016-01-05 05:41:48 +00:00
parent f1c096418d
commit efc47cf3cf
1 changed files with 1 additions and 1 deletions

View File

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