Go to file
Mark McLoughlin 7633bef938 Re-factor update.py to avoid breaking tests
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
2012-01-27 16:27:25 +00:00
2011-11-30 19:14:47 -06:00
2012-01-06 10:12:58 -08:00
2012-01-06 10:19:25 -08:00
2012-01-06 10:12:22 -08:00

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
RETIRED, further work has moved to Debian project infrastructure
Readme 2.3 MiB