rally-openstack/rally-jobs/plugins
Boris Pavlovic 2437f21f64 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
2015-04-22 11:59:40 +03:00
..
test_relative_import Fix rally plugins relative imports 2015-04-22 11:59:40 +03:00
__init__.py Fix rally plugins relative imports 2015-04-22 11:59:40 +03:00
fake_plugin.py Fix rally plugins relative imports 2015-04-22 11:59:40 +03:00
README.rst Rename rally-scenarios to rally-jobs & add readme 2014-11-24 16:13:47 +04:00

Rally plugins

All *.py modules from this directory will be auto-loaded by Rally and all plugins will be discoverable. There is no need of any extra configuration and there is no difference between writing them here and in rally code base.

Note that it is better to push all interesting and useful benchmarks to Rally code base, this simplifies administration for Operators.