keystone.tests.functional.core.
BaseTestCase
(*args, **kwargs)[source]¶Bases: testtools.testcase.TestCase
, keystone.tests.common.auth.AuthTestMixin
get_scoped_token
(user)[source]¶Convenience method for getting scoped token.
This method doesn’t do any token validation.
Parameters: | user – A dictionary with user information like ‘username’, ‘password’, ‘domain_id’ |
---|---|
Returns: | An OpenStack token for further use |
Return type: | str |
get_scoped_token_response
(user)[source]¶Convenience method so that we can test authenticated requests.
Parameters: | user – A dictionary with user information like ‘username’, ‘password’, ‘domain_id’ |
---|---|
Returns: | urllib3.Response object |
request_headers
= {'content-type': 'application/json'}¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.