Tim Bielawa b66a5a667d Make 'cover-erase' a config file setting. Move VENT target to pre-req for all ci-* targets пре 8 година
..
docs 1c7dd6d5cd a-o-i: Separate install and scaleup workflows пре 8 година
etc ba823255fc Fix conflicts in spec file пре 8 година
site_assets 5bfa7e8da7 Fix typos пре 8 година
src cef42e2541 update tests and flake8/pylint fixes пре 8 година
test b7b8dd0ce3 Add some tests for utils to get the coverage up. пре 8 година
.coveragerc 0c555d2d41 test updates пре 8 година
.gitignore c959f9dcf9 Fix PyLint errors discovered when upgrading to newer version пре 8 година
Makefile b66a5a667d Make 'cover-erase' a config file setting. Move VENT target to pre-req for all ci-* targets пре 8 година
README.md ddbd7dada6 Make note about ansible/install logs messing up ci tests пре 8 година
setup.cfg b66a5a667d Make 'cover-erase' a config file setting. Move VENT target to pre-req for all ci-* targets пре 8 година
setup.py cef42e2541 update tests and flake8/pylint fixes пре 8 година
test-requirements.txt cef42e2541 update tests and flake8/pylint fixes пре 8 година

README.md

Running Tests (NEW)

Run the command:

make ci

to run an array of unittests locally.

You will get errors if the log files already exist and can not be written to by the current user (/tmp/ansible.log and /tmp/installer.txt). We're working on it.

Running From Source

You will need to setup a virtualenv to run from source:

$ virtualenv oo-install
$ source ./oo-install/bin/activate
$ virtualenv --relocatable ./oo-install/
$ python setup.py install

The virtualenv bin directory should now be at the start of your $PATH, and oo-install is ready to use from your shell.

You can exit the virtualenv with:

$ deactivate

Testing (OLD)

This section is deprecated, but still works

First, run the virtualenv setup steps described above.

Install some testing libraries: (we cannot do this via setuptools due to the version virtualenv bundles)

$ pip install mock nose

Then run the tests with:

$ oo-install/bin/nosetests