This patch is mainly porting from nova repository:
Will let developer use 'tox -epep8 -- -HEAD' to testing changes files
Give pretty test trace when doing unit/functional testing.
colorizer.py was added in Change-Id
it was used in the post_test_hook.sh to colorize
output from subunit stream when running functional
tests. We don't need this anymore in our test harness.
Switch over to the new plugin style as documented here:
Makes it very easy to setup a CI job. Added a new
directory for functional job and the tests are run
from the post_test_hook.sh. There's even a "magnum bay-list"
in the shell script to show that we are actually making
calls to the magnum API endpoint and things are working
fine. Note that this is just the minimal plumbing needed
and there's a lot more effort needed to come up with
proper test cases for testing magnum functionality.