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='admin')
mistral(action, flags='', params='', fail_ok=False)

Executes Mistral command.

mistralclient.tests.functional.cli.base.credentials(group='admin')

Retrieves credentials to run functional tests.

Credentials are either read from the environment or from a config file (‘functional_creds.conf’). Environment variables override those from the config file.

The ‘functional_creds.conf’ file is the clean and new way to use (by default tox 2.0 does not pass environment variables).