a7b8f496b3
ServersClient class doesn't exists in tempest.clients module, so the error below occurs for unit test SSHActionsTestsV2: File "/opt/stack/new/mistral/mistral_tempest_tests/tests/base.py", line 78, in resource_setup AttributeError: 'module' object has no attribute 'ServersClient' We should use service clients initialized in tempest credential setup. Change-Id: I09dea2f596abab9987221ff9d79a065d269f73a9 |
||
---|---|---|
.. | ||
services | ||
tests | ||
__init__.py | ||
config.py | ||
plugin.py | ||
README.rst |
Tempest Integration of Mistral
This directory contains Tempest tests to cover the mistral project.
To list all Mistral tempest cases, go to tempest directory, then run:
$ testr list-tests mistral
To run only these tests in tempest, go to tempest directory, then run:
$ ./run_tempest.sh -N -- mistral
To run a single test case, go to tempest directory, then run with test case name, e.g.:
$ ./run_tempest.sh -N -- mistral_tempest_tests.tests.api.v2.test_mistral_basic_v2.WorkbookTestsV2.test_get_workbook
Alternatively, to run mistral tempest plugin tests using tox, go to tempest directory, then run:
$ tox -eall-plugin mistral
And, to run a specific test:
$ tox -eall-plugin mistral_tempest_tests.tests.api.v2.test_mistral_basic_v2.WorkbookTestsV2.test_get_workbook