Merge "Follow up fixes to recycle bin tests"

This commit is contained in:
Zuul 2022-02-22 09:26:58 +00:00 committed by Gerrit Code Review
commit 88225a342c

View File

@ -350,7 +350,7 @@ class SharesActionsNegativeTest(base.BaseSharesMixedTest):
@tc.attr(base.TAG_NEGATIVE, base.TAG_API)
def test_soft_delete_share_with_wrong_id(self):
self.assertRaises(lib_exc.NotFound,
self.alt_shares_v2_client.soft_delete_share,
self.shares_v2_client.soft_delete_share,
"wrong_share_id")
@utils.skip_if_microversion_not_supported("2.69")
@ -358,5 +358,5 @@ class SharesActionsNegativeTest(base.BaseSharesMixedTest):
@tc.attr(base.TAG_NEGATIVE, base.TAG_API)
def test_restore_share_with_wrong_id(self):
self.assertRaises(lib_exc.NotFound,
self.alt_shares_v2_client.restore_share,
self.shares_v2_client.restore_share,
"wrong_share_id")