summaryrefslogtreecommitdiff
path: root/keystoneclient/tests
diff options
context:
space:
mode:
authoropenstack <neha.alhat@nttdata.com>2018-12-13 09:08:25 +0000
committeropenstack <neha.alhat@nttdata.com>2019-01-16 05:51:12 +0000
commit27eac4993d8120e892ceaa564eddb86c79a4b7c4 (patch)
treeda521de679dbe9913c57de5527681c910b14d887 /keystoneclient/tests
parentfee326e56a053592293ef724c7dd31dfa69acf5f (diff)
downloadpython-keystoneclient-27eac4993d8120e892ceaa564eddb86c79a4b7c4.tar.gz
Add return-request-id-to-caller function(v3/contrib)
Added return-request-id-to-caller function to resources and resource managers in the following files. * keystoneclient/v3/projects.py * keystoneclient/v3/registered_limits.py * keystoneclient/v3/roles.py * keystoneclient/v3/limits.py * keystoneclient/v3/contrib/federation/saml.py Also made changes in base.py for _put() method so that if include_metadata is True, the response data should include request_id instead of returning None as response. Change-Id: Ifc0ec9a9d666cccfee3b08ac61596a3692307f23 Implements: blueprint return-request-id-to-caller
Diffstat (limited to 'keystoneclient/tests')
-rw-r--r--keystoneclient/tests/unit/v3/test_roles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystoneclient/tests/unit/v3/test_roles.py b/keystoneclient/tests/unit/v3/test_roles.py
index 51d9fc7..0e531e7 100644
--- a/keystoneclient/tests/unit/v3/test_roles.py
+++ b/keystoneclient/tests/unit/v3/test_roles.py
@@ -656,7 +656,7 @@ class ImpliedRoleTests(utils.ClientTestCase, utils.CrudTests):
implied_role_id = uuid.uuid4().hex
self.stub_url('HEAD',
['roles', prior_role_id, 'implies', implied_role_id],
- status_code=200)
+ status_code=204)
result = self.manager.check(prior_role_id, implied_role_id)
self.assertTrue(result)