Merge "Fixed super constructor call for TestResponse class"

This commit is contained in:
Jenkins 2014-02-11 01:54:12 +00:00 committed by Gerrit Code Review
commit 19a723a37c

@ -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)