This patch fix the dir_path that helps to get the directory of
Mistral resources.
Without this patch, this is what we get when running Tempest:
IOError: [Errno 2] No such file or directory:
'/usr/lib/python2.7/site-packages/mistral_mistral/tests/resources/openstack/action_collection_wb.yaml'
With this patch:
/usr/lib/python2.7/site-packages/mistral/tests/resources/openstack/action_collection_wb.yaml
This path is correct and Tempest runs successfully.
Change-Id: Ie4bd3db8a4e729f7937a6f3c099d7c25abffcb1b
Closes-Bug: #1568413
(cherry picked from commit 99edd171057daf29d4bf66cafdf282259fbd1e8b)
Reviewed: https:/ /review. openstack. org/304558 /git.openstack. org/cgit/ openstack/ mistral/ commit/ ?id=25aae034738 eda7c00fb3745aa 85b96c6768c0f8
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 25aae034738eda7 c00fb3745aa85b9 6c6768c0f8
Author: Emilien Macchi <email address hidden>
Date: Sun Apr 10 00:09:33 2016 -0400
tempest: fix dir_path
This patch fix the dir_path that helps to get the directory of
Mistral resources.
Without this patch, this is what we get when running Tempest:
IOError: [Errno 2] No such file or directory: lib/python2. 7/site- packages/ mistral_ mistral/ tests/resources /openstack/ action_ collection_ wb.yaml'
'/usr/
With this patch: lib/python2. 7/site- packages/ mistral/ tests/resources /openstack/ action_ collection_ wb.yaml
/usr/
This path is correct and Tempest runs successfully.
Change-Id: Ie4bd3db8a4e729 f7937a6f3c099d7 c25abffcb1b 9d4bf66cafdf282 259fbd1e8b)
Closes-Bug: #1568413
(cherry picked from commit 99edd171057daf2