ironic-inspector/ironic_inspector/test
dparalen c365e5403c Stringify node_info.uuid as a precaution
Currently, utils:processing_logger_prefix() assumes node_info.uuid to be a
string.  However, a (broken) test case could encounter a TypeError logging:

   File "ironic_inspector/utils.py", line 103, in processing_logger_prefix
     return _('[node: %s]') % ' '.join(parts)
 TypeError: sequence item 0: expected string, MagicMock found

The patch purpose is to apply str(node_info.uuid) as a precaution.  This may
also help track where the real issue is with a broken test case.

Change-Id: I689f67c44a6304f7b296829fef3339872a4f6d36
2016-01-21 15:34:40 +01:00
..
__init__.py Rename discoverd -> inspector 2015-05-29 09:06:56 +02:00
base.py Lock nodes to avoid simultaneous introspection requests 2015-11-27 12:05:27 +01:00
functional.py Switch to IPA as a primary ramdisk 2016-01-13 17:30:56 +01:00
test_firewall.py Use rootwrap to execute iptables instead of requiring root 2015-09-23 13:27:15 +02:00
test_introspect.py Track node identification during the whole processing 2016-01-13 12:23:15 +01:00
test_main.py Validate that data received from the ramdisk is a JSON object 2015-12-14 14:19:43 +01:00
test_node_cache.py Lock nodes to avoid simultaneous introspection requests 2015-11-27 12:05:27 +01:00
test_plugins_base.py Add introspection rules support 2015-09-14 14:56:09 +02:00
test_plugins_extra_hardware.py Convert eDeploy data so that rules can process it 2015-09-22 13:29:58 +01:00
test_plugins_raid_device.py Support IPA in raid_device plugin 2015-09-22 17:05:02 +02:00
test_plugins_rules.py Add missing plugins for introspection rules 2015-09-18 17:42:42 +02:00
test_plugins_standard.py Switch to IPA as a primary ramdisk 2016-01-13 17:30:56 +01:00
test_process.py Properly report preprocessing errors to a user 2015-12-09 17:31:47 +01:00
test_rules.py Add introspection rules support 2015-09-14 14:56:09 +02:00
test_swift.py Store and expose introspection data 2015-08-27 20:18:54 -04:00
test_utils.py Stringify node_info.uuid as a precaution 2016-01-21 15:34:40 +01:00