mistral/mistral_tempest_tests
Anastasia Kuznetsova a46dfbfb7b Change Http action result content encoding
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
2017-04-03 18:36:22 +04:00
..
services Remove output from list action executions API 2017-03-02 10:40:37 +00:00
tests Change Http action result content encoding 2017-04-03 18:36:22 +04:00
__init__.py Initial layout for mistral tempest plugin. 2015-12-24 06:11:06 +00:00
config.py Stop adding ServiceAvailable group option 2016-10-01 13:50:30 +05:30
plugin.py Stop adding ServiceAvailable group option 2016-10-01 13:50:30 +05:30
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