Add reason attribute to TestResponse
The tests are currently failing due to a missing attribute 'reason' in the TestResponse object. Change-Id: Ib229c3d2807634d9670d91e271611b207a504266 Closes-Bug: 1613740
This commit is contained in:
@@ -35,6 +35,7 @@ class TestResponse(requests.Response):
|
||||
|
||||
It also provides some convenience to initialize with a dict.
|
||||
"""
|
||||
reason = ''
|
||||
|
||||
def __init__(self, data):
|
||||
self._text = None
|
||||
|
||||
Reference in New Issue
Block a user