Comment 4 for bug 1691517

Revision history for this message
Chad Smith (chad.smith) wrote :

Ran the following to validate unit test success on centos 7 environment:
$ lxc launch images:centos/7 c7
$ sleep 10; # let it boot
$ lxc exec c7 -- /bin/sh -xe <<"EOF"
yum install --assumeyes epel-release
yum install --assumeyes pyserial python-argparse python-cheetah python-configobj python-jinja2 python-jsonpatch python-oauthlib python-prettytable python-requests python-six python-pip PyYAML git file e2fsprogs
pip install contextlib2 httpretty mock nose pep8 unittest2
git clone https://git.launchpad.net/cloud-init
cd cloud-init
git checkout 16a7302f
nosetests tests/unittests
EOF

...

+ nosetests tests/unittests
......................SSSSS.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 884 tests in 15.273s

OK (SKIP=5)