John L. Villalovos f3279dffe2 Simplify logic in wait_for_disk_to_become_available
* Simplify the logic in utils.py/wait_for_disk_to_become_available
 * Correct unit tests to not use None as a return value for calls to
   utils.execute() that return no output. In reality utils.execute()
   will return empty strings for example: ('', '')
 * Add unit tests to test 'psmisc' and 'busybox' versions of output
   data from 'fuser'
 * Add a shorter check device interval as test was taking over 2
   seconds and showing up in longest test run time list.

Change-Id: Ibc481e4a76c63612e1774b5c7a8144ee934eb2f5
2018-01-17 13:56:16 -08:00
2015-03-27 10:01:11 +01:00
2015-02-26 04:15:08 -08:00
2017-03-02 11:45:33 +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
Description
A python library of common ironic utilities.
Readme 7.8 MiB