Reviewed: https://review.openstack.org/176153 Committed: https://git.openstack.org/cgit/openstack/rally/commit/?id=6bb572e046e4090a3a979440dcafd3d9b9e712b1 Submitter: Jenkins Branch: master
commit 6bb572e046e4090a3a979440dcafd3d9b9e712b1 Author: Boris Pavlovic <email address hidden> Date: Wed Apr 22 04:25:03 2015 +0300
Fix rally plugins relative imports
We are not able to use relative imports for plugins that are outside of rally package.
To fix this we should add to sys.path all directories with Rally plugins.
This is quite easy fix. But in any case it includes functional test that checks that this actually works in real life.
+ Fix of Rally gates to copy whole tree not just *.py files from rally-jobs/plugins/
Change-Id: Ie53dc2ba5c32a5e83d84d0ea5703e2e04b10ff33 Closes-bug: #1446923
Reviewed: https:/ /review. openstack. org/176153 /git.openstack. org/cgit/ openstack/ rally/commit/ ?id=6bb572e046e 4090a3a979440dc afd3d9b9e712b1
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6bb572e046e4090 a3a979440dcafd3 d9b9e712b1
Author: Boris Pavlovic <email address hidden>
Date: Wed Apr 22 04:25:03 2015 +0300
Fix rally plugins relative imports
We are not able to use relative imports for plugins that are
outside of rally package.
To fix this we should add to sys.path all directories with Rally
plugins.
This is quite easy fix. But in any case it includes functional test
that checks that this actually works in real life.
+ Fix of Rally gates to copy whole tree not just *.py files from jobs/plugins/
rally-
Change-Id: Ie53dc2ba5c32a5 e83d84d0ea5703e 2e04b10ff33
Closes-bug: #1446923