keystone.tests.functional package

keystone.tests.functional package

Submodules

keystone.tests.functional.core module

class keystone.tests.functional.core.BaseTestCase(*args, **kwargs)[source]

Bases: testtools.testcase.TestCase, keystone.tests.common.auth.AuthTestMixin

get_scoped_admin_token()[source]
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
get_scoped_user_token()[source]
request_headers = {'content-type': 'application/json'}
setUp()[source]

Module contents

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.