John L. Villalovos c693d5d04f flake8: Enable some off-by-default checks
Enable the following off-by-default checks:
    * [H106] Don't put vim configuration in source files.
    * [H203] Use assertIs(Not)None to check for None.
    * [H204] Use assert(Not)Equal to check for equality.
    * [H205] Use assert(Greater|Less)(Equal) for comparison.
    * [H210] Require ‘autospec’, ‘spec’, or ‘spec_set’ in
             mock.patch/mock.patch.object calls
    * [H904] Delay string interpolations at logging calls.

Fix code that failed [H904]. Nothing else failed the new added checks.

Change-Id: I727c944aad04298de07bcdd1d0008dcb9ffe32e9
2017-09-06 20:39:38 -07:00
2016-08-30 20:02:49 +02:00
2015-03-27 10:01:11 +01:00
2015-02-26 04:15:08 -08: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