ironic/ironic/tests/unit/api
Kaifeng Wang 9555ad281c Fix listing nodes with conductor could raise
In the case of conductor service goes offline, some hardware types
may be not available as well, get_conductor_for is not protected for
such case when querying node with conductor.

This patch adds exception handling and bypasses orphaned nodes.

Change-Id: I381585240057a989ab269ea35ea9b2124527bf8e
Story: 2004834
Task: 29028
2019-01-24 09:20:53 +08:00
..
controllers Fix listing nodes with conductor could raise 2019-01-24 09:20:53 +08:00
__init__.py Prepare for functional testing 2015-09-28 21:27:01 +00:00
base.py Unit test consistency: DB base and utils prefix 2017-06-20 09:36:21 +01:00
test_acl.py Add keystone policy support to Ironic 2016-08-04 12:43:20 +00:00
test_audit.py Remove unnecessary setUp function in testcase 2017-03-30 15:39:55 +08:00
test_healthcheck.py Add optional healthcheck middleware 2018-02-12 14:48:05 -05:00
test_hooks.py Add user and project domains to ironic context 2016-11-15 17:35:22 +02:00
test_middleware.py Properly allow Ironic headers in REST API 2017-05-04 15:30:45 -03:00
test_ospmiddleware.py Add I202 to flake ignore list 2017-10-25 14:32:52 +03:00
test_root.py Merge "Add version discovery information to the /v1 endpoint" 2018-10-22 15:17:06 +00:00
utils.py Allocation API: database and RPC 2019-01-07 12:51:10 +01:00