a46dfbfb7b
Sometimes action result is present not in "utf-8", it cases to "UnicodeDecodeError: 'utf8' codec can't decode byte" so need to pass proper encoding format in serialiser and deserialiser if it is different from default, but it should be resolved in general as a fix for another bug (#1676411). As a hotfix for linked bug, encoding was changed in the run Http action method directly. Also default encoding value in the FakeHTTPResponse was changed from 'utf8' to 'utf-8' like in official python request lib docs. Change-Id: I0ab9ec84c0973f362b57ab82248f27768a984678 Closes-Bug: #1667415 |
||
---|---|---|
.. | ||
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