From 806dbaef9051e7b0e50d8127240aaccb4ad41caa Mon Sep 17 00:00:00 2001 From: Rob Cresswell Date: Tue, 16 Aug 2016 15:29:11 +0100 Subject: [PATCH] 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 --- openstack_auth/tests/data_v3.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openstack_auth/tests/data_v3.py b/openstack_auth/tests/data_v3.py index 257c304..7bf2ec9 100644 --- a/openstack_auth/tests/data_v3.py +++ b/openstack_auth/tests/data_v3.py @@ -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