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

Table Of Contents

Previous topic

keystone.tests.common package

Next topic

keystone.tests.functional.shared package

Project Source

This Page