7633bef9382bc6038837d19eb535bfbdcac76f3f
nosetests tries to import update.py and fails. Re-factor the code so that we have a main function that doesn't get executed on import. Note: setup.py would break nose similarly, except nose ignores setup.py by default. Change-Id: I609019d492f6fc2d7f2e8b6165228f879cf1ddb7
Common code for Openstack Projects. To run tests in virtualenvs (preferred): sudo pip install tox tox To run tests in the current environment: sudo pip install -r tools/pip-requires nosetests
Description