summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tempest_lib/exceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tempest_lib/exceptions.py b/tempest_lib/exceptions.py
index d6f518c..887c9b0 100644
--- a/tempest_lib/exceptions.py
+++ b/tempest_lib/exceptions.py
@@ -47,7 +47,7 @@ class TempestException(Exception):
class RestClientException(TempestException,
testtools.TestCase.failureException):
- def __init__(self, resp_body, *args, **kwargs):
+ def __init__(self, resp_body=None, *args, **kwargs):
self.resp_body = resp_body
message = kwargs.get("message", resp_body)
super(RestClientException, self).__init__(message, *args, **kwargs)