433f3d98e8
This adds the keyword argument 'log_stdout' (Boolean) to utils.execute(). If set to True, it will log the stdout returned by executing the command. By default, it is True. This argument is used in ipa's (ironic-python-agent) copy of execute(), and is being added here in preparation for changing ipa to use this library's execute(). The docstrings associated with utils.execute() were updated to reflect the copy in ipa. Change-Id: I44148c6e9150c7afd3de7b0b59bedb4983d9a6a7 Partial-Bug: 1587199 |
||
---|---|---|
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