Ignore "Method not allowed" errors in resource cleanup functions

Change-Id: I89ca11ffa6187e35a27419358127e626a6c60127
This commit is contained in:
Luka Peschke 2018-03-06 10:19:00 +01:00
parent ce11e09898
commit 8410927711
1 changed files with 2 additions and 1 deletions

View File

@ -80,5 +80,6 @@ class BaseRatingTest(tempest.test.BaseTestCase):
for item_id in item_ids:
try:
delete_method(item_id)
except exceptions.NotFound:
except (exceptions.NotFound,
exceptions.UnexpectedResponseCode):
pass