9f8719024b
The Mistral Tempest tests have a hard-coded dependency on Mistral being present when Tempest tests are executed. When trying to sparse-checkout the mistral_tempest_tests folder to run the Mistral tests as a Tempest plugin; it fails due to Mistral not being installed as some utilities and resources which are written in the Mistral Tempest tests are being hard referenced from Mistral being installed in the same environment. This patch decouples the Mistral Tempest Tests so that they can be executed in a stand-alone mode along with the necessary resources that are required to execute the Tempest tests. Change-Id: Ifd6a3a65a14c4ad4736dccc3e72cd564b6f53a0a Closes-Bug: #1714732 |
||
---|---|---|
.. | ||
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