e61a45b644
Some of the mocked objects in the unit tests do not have autospec=True specified. This patch adds them, so that the tests are consistent. autospec=True is useful because it creates mock objects that have the same attributes and methods as the objects they are replacing. Change-Id: I49b3a2dd7694666f6f62d3557ccee19a582d5868 |
||
---|---|---|
etc/rootwrap.d | ||
ironic_lib | ||
releasenotes/notes | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
TESTING.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
ironic_lib
Overview
A common library to be used exclusively by projects under the Ironic governance.
Running Tests
To run tests in virtualenvs (preferred):
sudo pip install tox
tox
To run tests in the current environment:
sudo pip install -r requirements.txt
nosetests