Remove UnexpectedResponseCode exception

This commit just removes UnexpectedResponseCode exception. Because we
already don't use it.

Change-Id: Ibb3af95f7038c46f0e67727b161328ec4fadce8e
This commit is contained in:
Masayuki Igawa 2015-01-20 13:16:43 +09:00
parent 1f88ecec48
commit ce34d2fcf1
2 changed files with 0 additions and 6 deletions

View File

@ -81,8 +81,6 @@ class ServiceClient(rest_client.RestClient):
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

View File

@ -209,10 +209,6 @@ class InvalidContentType(RestClientException):
message = "Invalid content type provided"
class UnexpectedResponseCode(RestClientException):
message = "Unexpected response code received"
class InvalidStructure(TempestException):
message = "Invalid structure of table with details"