The mistralclient.tests.functional.cli.base Module

The mistralclient.tests.functional.cli.base Module

class mistralclient.tests.functional.cli.base.MistralCLIAltAuth(*args, **kwargs)

Bases: tempest.lib.cli.base.ClientTestBase

mistral_alt(action, flags='', params='', mode='alt_user')

Executes Mistral command for alt_user from alt_tenant.

class mistralclient.tests.functional.cli.base.MistralCLIAuth(*args, **kwargs)

Bases: tempest.lib.cli.base.ClientTestBase

get_project_id(project_name='admin')
mistral(action, flags='', params='', fail_ok=False)

Executes Mistral command.

mistralclient.tests.functional.cli.base.credentials(cloud='devstack-admin')

Retrieves credentials to run functional tests

Credentials are either read via os-client-config from the environment or from a config file (‘clouds.yaml’). Environment variables override those from the config file. devstack produces a clouds.yaml with two named clouds - one named ‘devstack’ which has user privs and one named ‘devstack-admin’ which has admin privs. This function will default to getting the devstack-admin cloud as that is the current expected behavior.

mistralclient.tests.functional.cli.base.get_cloud_config(cloud='devstack-admin')
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.

python-mistralclient 3.7.1.dev12