deb-mistral/mistral_tempest_tests
Lingxian Kong a7b8f496b3 Fix SSHActionsTestsV2 failure
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
2016-06-29 21:53:13 +12:00
..
services Refactored tempest tests 2016-06-16 15:48:03 +05:30
tests Fix SSHActionsTestsV2 failure 2016-06-29 21:53:13 +12:00
__init__.py Initial layout for mistral tempest plugin. 2015-12-24 06:11:06 +00:00
config.py Add configuration for Mistral tempest testing 2016-06-16 00:00:49 +12:00
plugin.py Add configuration for Mistral tempest testing 2016-06-16 00:00:49 +12:00
README.rst Added README.rst file for tempest plugin. 2015-12-24 06:14:12 +00:00

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