ironic/ironic/tests
Dmitry Tantsur 4e2345ec47 Do not try to return mock as JSON in unit tests
A few of our unit tests make API handlers return Mock objects. This
used to work with older WSME, but the current master has dropped
support for simplejson, which has apparently made validation stricter.
An example of resulting failures can be seen in RDO CI:
71833957b3_156a4cd0/mock.log

This change fixes it, also adding autospec=True to affected tests.

Change-Id: Ide4bc301d53ad81b53e5df8a9358cb65fdd8056c
(cherry picked from commit f8e1fbf308)
2019-05-20 14:26:21 +00:00
..
functional Prepare for functional testing 2015-09-28 21:27:01 +00:00
unit Do not try to return mock as JSON in unit tests 2019-05-20 14:26:21 +00:00
__init__.py Prepare for functional testing 2015-09-28 21:27:01 +00:00
base.py Add rescue related methods to network interface 2018-01-22 11:37:32 -05:00