This patch is mainly porting from nova repository:
Adds:
1.tools/flake8wrap.sh
Will let developer use 'tox -epep8 -- -HEAD' to testing changes files
2.tools/pretty_tox.sh
Give pretty test trace when doing unit/functional testing.
Change-Id: Icedb4ed8b50532531e18784a1584fe63c5a9e017
colorizer.py was added in Change-Id
I88d45015338ef55713b32de196f9071c8fc2031b,
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.
Closes-Bug: #1490192
Change-Id: I7956bf12edad716366c62a04b388e8216d657b9a
Switch over to the new plugin style as documented here:
http://docs.openstack.org/developer/devstack/plugins.html
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.
Closes-Bug: #1439621
Change-Id: I88d45015338ef55713b32de196f9071c8fc2031b