From efc47cf3cf5e5853baa797bed1dd9ad6e5fd37d7 Mon Sep 17 00:00:00 2001 From: daiki kato Date: Tue, 5 Jan 2016 05:41:48 +0000 Subject: [PATCH] Fix unit test of ShareSnapshotNotFound Unit test of ShareSnapshotNotFound isn't executed actually. This patch fixes it. Change-Id: I1210b10998ee9ab2c1642036747f06902239f0be --- manila/tests/test_exception.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manila/tests/test_exception.py b/manila/tests/test_exception.py index bb0514b585..606c96624c 100644 --- a/manila/tests/test_exception.py +++ b/manila/tests/test_exception.py @@ -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)