diff options
author | Andrew Lazarev <alazarev@mirantis.com> | 2014-02-04 14:39:04 -0800 |
---|---|---|
committer | Andrew Lazarev <alazarev@mirantis.com> | 2014-02-04 14:39:54 -0800 |
commit | d218088c22760bac7de98c0a77d9d723fdc840f0 (patch) | |
tree | 273bd64a056352625c17a2c27d72a2394e5f24d0 | |
parent | 810857849ed32773c38df12785715f89d33e83af (diff) | |
download | python-novaclient-d218088c22760bac7de98c0a77d9d723fdc840f0.tar.gz |
Fixed super constructor call for TestResponse class
Change-Id: Idbd436d63af152d4a73e747bf00a82fc0308a036
-rw-r--r-- | novaclient/tests/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/novaclient/tests/utils.py b/novaclient/tests/utils.py index 9335819f..982b953a 100644 --- a/novaclient/tests/utils.py +++ b/novaclient/tests/utils.py @@ -42,8 +42,8 @@ class TestResponse(requests.Response): """ def __init__(self, data): + super(TestResponse, self).__init__() self._text = None - super(TestResponse, self) if isinstance(data, dict): self.status_code = data.get('status_code', None) self.headers = data.get('headers', None) |