Remove UnexpectedResponseCode exception
This commit just removes UnexpectedResponseCode exception. Because we
already don't use it.
Change-Id: Ibb3af95f7038c46f0e67727b161328ec4fadce8e
diff --git a/tempest/common/service_client.py b/tempest/common/service_client.py
index d2f67e3..c0a7133 100644
--- a/tempest/common/service_client.py
+++ b/tempest/common/service_client.py
@@ -81,8 +81,6 @@
raise exceptions.NotImplemented(ex)
except lib_exceptions.ServerFault as ex:
raise exceptions.ServerFault(ex)
- except lib_exceptions.UnexpectedResponseCode as ex:
- raise exceptions.UnexpectedResponseCode(ex)
# TODO(oomichi): This is just a workaround for failing gate tests
# when separating Forbidden from Unauthorized in tempest-lib.
# We will need to remove this translation and replace negative tests
diff --git a/tempest/exceptions.py b/tempest/exceptions.py
index 86f488a..f265186 100644
--- a/tempest/exceptions.py
+++ b/tempest/exceptions.py
@@ -209,10 +209,6 @@
message = "Invalid content type provided"
-class UnexpectedResponseCode(RestClientException):
- message = "Unexpected response code received"
-
-
class InvalidStructure(TempestException):
message = "Invalid structure of table with details"