A python library of common ironic utilities.
Go to file
John L. Villalovos 35eb2af3f4 Fix issue with double mocking of utils.execute functions
An issue was discovered if we mock an already mock-ed function. This
was happening in our execute() detection code. Change it to not use a
mock and instead a function.

Add test cases to ensure it works as expected.

Change-Id: If58071b41c7e69bc182ea033bf647924f996f1f3
2017-12-11 07:26:42 -08:00
doc/source Update and replace http with https for doc links 2017-07-21 16:40:32 +08:00
etc/rootwrap.d Fix retrieval of config-2 existing partition 2017-01-11 14:55:40 -08:00
ironic_lib Fix issue with double mocking of utils.execute functions 2017-12-11 07:26:42 -08:00
playbooks/legacy Move legacy ironic-lib jobs in-tree 2017-10-24 14:55:47 +03:00
zuul.d zuul: Remove un-needed projects in required_projects 2017-11-16 15:37:53 -08:00
.gitignore Migrate to stestr as unit tests runner 2017-09-26 09:22:22 -07:00
.gitreview Add .gitreview 2015-03-27 10:01:11 +01:00
.stestr.conf Migrate to stestr as unit tests runner 2017-09-26 09:22:22 -07:00
CONTRIBUTING.rst Update and replace http with https for doc links 2017-07-21 16:40:32 +08:00
LICENSE Initial commit for ironic-lib 2015-02-26 04:15:08 -08:00
MANIFEST.in Added project infrastructure needs. 2013-05-02 14:55:43 -04:00
README.rst Update and replace http with https for doc links 2017-07-21 16:40:32 +08:00
requirements.txt Updated from global requirements 2017-11-29 08:57:19 +00:00
setup.cfg Correct url in setup.cfg for documentation path 2017-07-19 20:11:19 +00:00
setup.py Updated from global requirements 2017-03-02 11:45:33 +00:00
test-requirements.txt Update version of flake8-import-order package 2017-12-08 14:13:32 -08:00
TESTING.rst Add prefix "$" for command examples 2016-09-28 22:19:51 +09:00
tox.ini Avoid tox_install.sh for constraints support 2017-12-02 16:53:55 +00:00

Team and repository tags

image

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