Add UT instead of deleting FT related with Mistral

This patch deletes the FT related with Mistral for the following reasons.
- Other OpenStack-PJs (e.g. nova and heat) that have Action definition in
mistral([1]) do not implement FT in each PJ.
- These functional tests are carried out in the mistral-tempest-plugin.
However, at the moment, only core PJs (e.g. nova and heat) are targeted in [2],
and it's necessary to aim to add tacker here in the future.

In this patch, instead of deleting FT, the viewpoint of unittest is added to
confirm that mistral-client is called as expected.
The code is modified so that the anchor notation is not used
because not supported by mistral in [3].

[1]: https://opendev.org/openstack/mistral-extra/src/branch/master/mistral_extra/actions/openstack/mapping.json
[2]: https://opendev.org/openstack/mistral-tempest-plugin/src/branch/master/mistral_tempest_tests/tests/scenario/engine/actions/v2/test_openstack_actions.py
[3]: eac23d9e77

Closes-Bug: #1878309
Change-Id: Ie8eab1b262c15f7b53796a287b333e60ffee1c31
This commit is contained in:
Hiroo Kitamura
2020-05-12 09:16:14 +09:00
committed by Cong Phuoc Hoang
parent c437dbae04
commit cdada88cbe
6 changed files with 206 additions and 70 deletions

View File

@@ -119,7 +119,7 @@ python-subunit==1.0.0
python-swiftclient==3.5.0
python-tackerclient==0.8.0
pytz==2018.3
PyYAML==3.12
PyYAML==5.1
reno==2.7.0
repoze.lru==0.7
requests-oauthlib==0.8.0