Comment 5 for bug 1065983

Revision history for this message
Jeff Lane  (bladernr) wrote :

Here's the actual contents of the dict 'test':
2013-04-25 15:30:02,611 DEBUG {'status': 'uninitiated', 'description': 'PURPOSE:\n This test will check the different NIC\nSTEPS:\n 1. Please verify the following information for NIC eth0\nINFO:\n\nVERIFICATION:\n Is this correct?', 'plugin': 'manual', 'requires': ['device.path == "/devices/pci0000:00/0000:00:19.0"'], 'command': 'network_info eth0', 'suite': 'networking/info', 'type': 'test', 'resources': [{'category': 'NETWORK', 'subproduct_id': '674', 'product_id': '4331', 'bus': 'pci', 'vendor_id': '32902', 'driver': 'e1000e', 'path': '/devices/pci0000:00/0000:00:19.0', 'subvendor_id': '4136'}], 'name': 'networking/info_eth0'}

And the code in question that is failing:
if test["info"] and "$output" in test["info"]:
            info = self._run_test(test, runner)
        else:
            info = ""

Obviously this throws a KeyError because there is no 'info' key in the dict. Now where the heck is this dictionary actually defined?