Module Expr Str Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier Assign NameStore Call AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad NameLoad Delete SubscriptDel NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str Num body If CompareIs NameLoad NameLoad body Assign NameStore ListLoad Return Call Call NameLoad Str TupleLoad NameLoad Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Assign NameStore ListLoad NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str Str Dict Str Str Dict Str Str Str Str Str Str Str Str Str Str Dict Str Str Str Str Str Str Str Str Str Str Dict Str Dict Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Assign NameStore ListLoad NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str Dict Str Dict Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Num Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num keyword ListLoad Num Num decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr AugAssignAdd NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Dict Str Str Dict Str Str Dict Str Str Assign AttributeStore NameLoad attr Lambda arguments args defaults Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str Str NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign NameStore Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad ListLoad Call AttributeLoad NameLoad attr keyword Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad ListLoad Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Dict Str Str Str NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameStore body Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad FunctionDef arguments args NameParam defaults body For NameStore TupleLoad NameLoad Str Str Str Str body Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad NameLoad Str Str Str Str body Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list
N/A N/A 
Test class for Native IPMI power driver module.
 N/A mock oslo_utils uuidutils pyghmi exceptions pyghmi_exception ironic.common boot_devices ironic.common driver_factory ironic.common exception ironic.common states ironic.conductor task_manager ironic.drivers.modules console_utils ironic.drivers.modules ipminative ironic.drivers utils driver_utils ironic.tests.unit.conductor mgr_utils ironic.tests.unit.db base db_base ironic.tests.unit.db utils db_utils ironic.tests.unit.objects utils obj_utils N/A INFO_DICT N/A N/A db_utils get_test_ipmi_info IPMINativePrivateMethodTestCase N/A N/A db_base DbTestCase N/A N/A Test cases for ipminative private methods. setUp N/A N/A self N/A N/A N/A N/A N/A N/A super IPMINativePrivateMethodTestCase self setUp N/A N/A self node N/A N/A obj_utils create_test_node N/A self context driver fake_ipminative driver_info INFO_DICT N/A N/A self info N/A N/A ipminative _parse_driver_info N/A self node N/A test__parse_driver_info N/A N/A self N/A N/A N/A N/A N/A self assertIsNotNone N/A N/A N/A self info get address N/A N/A N/A self assertIsNotNone N/A N/A N/A self info get username N/A N/A N/A self assertIsNotNone N/A N/A N/A self info get password N/A N/A N/A self assertIsNotNone N/A N/A N/A self info get uuid N/A N/A N/A self assertIsNotNone N/A N/A N/A self info get force_boot_device N/A info N/A dict INFO_DICT N/A N/A info N/A ipmi_username N/A node N/A N/A obj_utils get_test_node N/A self context driver_info info N/A N/A N/A self assertRaises N/A exception MissingParameterValue N/A ipminative _parse_driver_info node N/A test__power_status_on N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd get_power return_value N/A powerstate on N/A state N/A N/A ipminative _power_status N/A self info N/A N/A N/A N/A ipmicmd get_power assert_called_once_with N/A N/A N/A self assertEqual N/A states POWER_ON state N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test__power_status_off N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd get_power return_value N/A powerstate off N/A state N/A N/A ipminative _power_status N/A self info N/A N/A N/A N/A ipmicmd get_power assert_called_once_with N/A N/A N/A self assertEqual N/A states POWER_OFF state N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test__power_status_error N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd get_power return_value N/A powerstate Error N/A state N/A N/A ipminative _power_status N/A self info N/A N/A N/A N/A ipmicmd get_power assert_called_once_with N/A N/A N/A self assertEqual N/A states ERROR state N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test__power_on N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd set_power return_value N/A powerstate on N/A N/A N/A self config retry_timeout 400 group ipmi N/A state N/A N/A ipminative _power_on N/A self info N/A N/A N/A N/A ipmicmd set_power assert_called_once_with on 400 N/A N/A N/A self assertEqual N/A states POWER_ON state N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test__power_off N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd set_power return_value N/A powerstate off N/A N/A N/A self config retry_timeout 500 group ipmi N/A state N/A N/A ipminative _power_off N/A self info N/A N/A N/A N/A ipmicmd set_power assert_called_once_with off 500 N/A N/A N/A self assertEqual N/A states POWER_OFF state N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test__reboot N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd set_power return_value N/A powerstate on N/A N/A N/A self config retry_timeout 600 group ipmi N/A state N/A N/A ipminative _reboot N/A self info N/A N/A N/A N/A ipmicmd set_power assert_called_once_with boot 600 N/A N/A N/A self assertEqual N/A states POWER_ON state N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True _create_sensor_object N/A N/A self value type_ name states units health N/A None fake_units 0 N/A N/A N/A states None N/A N/A states N/A N/A N/A N/A type Reading N/A object N/A value type name states units health value type_ name states units health N/A test__get_sensors_data N/A N/A self ipmi_mock N/A N/A N/A reading_1 N/A N/A self _create_sensor_object fake_value1 fake_type_A fake_name1 N/A reading_2 N/A N/A self _create_sensor_object fake_value2 fake_type_A fake_name2 N/A reading_3 N/A N/A self _create_sensor_object fake_value3 fake_type_B fake_name3 N/A readings N/A reading_1 reading_2 reading_3 N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd get_sensor_data return_value readings N/A expected N/A fake_type_A fake_type_B N/A fake_name1 fake_name2 N/A Health Sensor ID Sensor Reading States Units 0 fake_name1 fake_value1 fake_units [] fake_units N/A Health Sensor ID Sensor Reading States Units 0 fake_name2 fake_value2 fake_units [] fake_units N/A fake_name3 N/A Health Sensor ID Sensor Reading States Units 0 fake_name3 fake_value3 fake_units [] fake_units N/A ret N/A N/A ipminative _get_sensors_data N/A self info N/A N/A N/A self assertEqual expected ret N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test__get_sensors_data_missing_values N/A N/A self ipmi_mock N/A N/A N/A reading_1 N/A N/A self _create_sensor_object fake_value1 fake_type_A fake_name1 N/A reading_2 N/A N/A self _create_sensor_object None fake_type_A fake_name2 N/A reading_3 N/A N/A self _create_sensor_object None fake_type_B fake_name3 N/A readings N/A reading_1 reading_2 reading_3 N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd get_sensor_data return_value readings N/A expected N/A fake_type_A N/A fake_name1 N/A Health Sensor ID Sensor Reading States Units 0 fake_name1 fake_value1 fake_units [] fake_units N/A ret N/A N/A ipminative _get_sensors_data N/A self info N/A N/A N/A self assertEqual expected ret N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test__parse_raw_bytes_ok N/A N/A self N/A N/A N/A bytes_string 0x11 0x12 0x25 0xFF N/A N/A netfn cmd data N/A N/A ipminative _parse_raw_bytes bytes_string N/A N/A N/A self assertEqual 17 netfn N/A N/A N/A self assertEqual 18 cmd N/A N/A N/A self assertEqual N/A 37 255 data N/A test__parse_raw_bytes_invalid_value N/A N/A self N/A N/A N/A bytes_string 0x11 oops N/A N/A N/A self assertRaises N/A exception InvalidParameterValue N/A ipminative _parse_raw_bytes bytes_string N/A test__parse_raw_bytes_missing_byte N/A N/A self N/A N/A N/A bytes_string 0x11 N/A N/A N/A self assertRaises N/A exception InvalidParameterValue N/A ipminative _parse_raw_bytes bytes_string N/A test__send_raw N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipminative _send_raw N/A self info 0x01 0x02 0x03 0x04 N/A N/A N/A N/A ipmicmd xraw_command assert_called_once_with 1 2 data N/A 3 4 N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test__send_raw_fail N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd xraw_command side_effect N/A N/A pyghmi_exception IpmiException N/A N/A N/A self assertRaises N/A exception IPMIFailure N/A ipminative _send_raw N/A self info 0x01 0x02 N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True N/A IPMINativeDriverTestCase N/A N/A db_base DbTestCase N/A N/A Test cases for ipminative.NativeIPMIPower class functions. setUp N/A N/A self N/A N/A N/A N/A N/A N/A super IPMINativeDriverTestCase self setUp N/A N/A N/A mgr_utils mock_the_extension_manager driver fake_ipminative N/A N/A self driver N/A N/A driver_factory get_driver fake_ipminative N/A N/A self node N/A N/A obj_utils create_test_node N/A self context driver fake_ipminative driver_info INFO_DICT N/A N/A self info N/A N/A ipminative _parse_driver_info N/A self node N/A test_get_properties N/A N/A self N/A N/A N/A expected N/A ipminative COMMON_PROPERTIES N/A N/A N/A self assertEqual expected N/A N/A N/A N/A self driver power get_properties N/A N/A N/A self assertEqual expected N/A N/A N/A N/A self driver management get_properties N/A N/A N/A self assertEqual expected N/A N/A N/A N/A self driver vendor get_properties N/A expected N/A list N/A ipminative COMMON_PROPERTIES N/A expected N/A list N/A ipminative CONSOLE_PROPERTIES N/A N/A N/A self assertEqual N/A sorted expected N/A sorted N/A N/A N/A N/A N/A N/A self driver console get_properties keys N/A N/A N/A self assertEqual N/A sorted expected N/A sorted N/A N/A N/A N/A N/A self driver get_properties keys N/A test_get_power_state N/A N/A self ipmi_mock N/A N/A N/A cmd_mock N/A ipmi_mock return_value N/A get_power_mock N/A cmd_mock get_power N/A return_values N/A N/A powerstate error N/A powerstate on N/A powerstate off N/A N/A get_power_mock side_effect N/A N/A N/A N/A N/A N/A return_values pop N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A pstate N/A N/A N/A N/A self driver power get_power_state task N/A N/A N/A self assertEqual N/A states POWER_OFF pstate N/A pstate N/A N/A N/A N/A self driver power get_power_state task N/A N/A N/A self assertEqual N/A states POWER_ON pstate N/A pstate N/A N/A N/A N/A self driver power get_power_state task N/A N/A N/A self assertEqual N/A states ERROR pstate N/A N/A N/A self assertEqual 3 N/A get_power_mock call_count pyghmi.ipmi.command.Command.get_power was not called 3 times. N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test_set_power_on_ok N/A N/A self power_on_mock N/A N/A N/A N/A power_on_mock return_value N/A states POWER_ON N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A N/A self driver power set_power_state task N/A states POWER_ON N/A N/A N/A power_on_mock assert_called_once_with N/A self info N/A N/A N/A N/A mock patch object ipminative _power_on autospec True test_set_power_on_with_next_boot N/A N/A self power_on_mock mock_next_boot N/A N/A N/A N/A power_on_mock return_value N/A states POWER_ON N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A N/A self driver power set_power_state task N/A states POWER_ON N/A N/A N/A mock_next_boot assert_called_once_with task N/A self info N/A N/A N/A power_on_mock assert_called_once_with N/A self info N/A N/A N/A N/A mock patch object driver_utils ensure_next_boot_device autospec True N/A N/A N/A mock patch object ipminative _power_on autospec True test_set_power_off_ok N/A N/A self power_off_mock N/A N/A N/A N/A power_off_mock return_value N/A states POWER_OFF N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A N/A self driver power set_power_state task N/A states POWER_OFF N/A N/A N/A power_off_mock assert_called_once_with N/A self info N/A N/A N/A N/A mock patch object ipminative _power_off autospec True test_set_power_on_fail N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd set_power return_value N/A powerstate error N/A N/A N/A self config retry_timeout 500 group ipmi N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A self assertRaises N/A exception PowerStateFailure N/A N/A N/A self driver power set_power_state task N/A states POWER_ON N/A N/A N/A N/A ipmicmd set_power assert_called_once_with on 500 N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test_set_boot_device_ok N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd set_bootdev return_value None N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A N/A self driver management set_boot_device task N/A boot_devices PXE N/A N/A N/A N/A ipmicmd set_bootdev assert_called_once_with network persist False N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test_force_set_boot_device_ok N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd set_bootdev return_value None N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A task node driver_info N/A ipmi_force_boot_device True N/A N/A N/A N/A N/A self driver management set_boot_device task N/A boot_devices PXE N/A N/A N/A N/A task node refresh N/A N/A N/A self assertEqual False N/A N/A N/A task node driver_internal_info N/A is_next_boot_persistent N/A N/A N/A N/A ipmicmd set_bootdev assert_called_once_with network persist False N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test_set_boot_device_with_persistent N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd set_bootdev return_value None N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A task node driver_info N/A ipmi_force_boot_device True N/A N/A N/A N/A N/A self driver management set_boot_device task N/A boot_devices PXE True N/A N/A N/A self assertEqual N/A boot_devices PXE N/A N/A N/A task node driver_internal_info N/A persistent_boot_device N/A N/A N/A N/A ipmicmd set_bootdev assert_called_once_with network persist False N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test_set_boot_device_bad_device N/A N/A self N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A self assertRaises N/A exception InvalidParameterValue N/A N/A N/A self driver management set_boot_device task fake-device N/A test_reboot_ok N/A N/A self reboot_mock mock_next_boot N/A N/A N/A N/A reboot_mock return_value None N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A N/A self driver power reboot task N/A N/A N/A mock_next_boot assert_called_once_with task N/A self info N/A N/A N/A reboot_mock assert_called_once_with N/A self info N/A N/A N/A N/A mock patch object driver_utils ensure_next_boot_device autospec True N/A N/A N/A mock patch object ipminative _reboot autospec True test_reboot_fail N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd set_power return_value N/A error Some IPMI error N/A N/A N/A self config retry_timeout 500 group ipmi N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A self assertRaises N/A exception PowerStateFailure N/A N/A N/A self driver power reboot task N/A N/A N/A N/A ipmicmd set_power assert_called_once_with boot 500 N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test_management_interface_get_supported_boot_devices N/A N/A self N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A expected N/A N/A boot_devices PXE N/A boot_devices DISK N/A boot_devices CDROM N/A boot_devices BIOS N/A N/A N/A self assertEqual N/A sorted expected N/A sorted N/A N/A N/A N/A task driver management get_supported_boot_devices task N/A test_management_interface_get_boot_device_good N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd get_bootdev return_value N/A bootdev hd N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A bootdev N/A N/A N/A N/A self driver management get_boot_device task N/A N/A N/A self assertEqual N/A boot_devices DISK N/A bootdev N/A boot_device N/A N/A N/A self assertIsNone N/A bootdev N/A persistent N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test_management_interface_get_boot_device_persistent N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd get_bootdev return_value N/A bootdev persistent hd True N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A bootdev N/A N/A N/A N/A self driver management get_boot_device task N/A N/A N/A self assertEqual N/A boot_devices DISK N/A bootdev N/A boot_device N/A N/A N/A self assertTrue N/A bootdev N/A persistent N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test_management_interface_get_boot_device_fail N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd get_bootdev side_effect N/A pyghmi_exception IpmiException N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A self assertRaises N/A exception IPMIFailure N/A N/A N/A self driver management get_boot_device task N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test_management_interface_get_boot_device_fail_dict N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd get_bootdev return_value N/A error boooom N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A self assertRaises N/A exception IPMIFailure N/A N/A N/A self driver management get_boot_device task N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test_management_interface_get_boot_device_unknown N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd get_bootdev return_value N/A bootdev unknown N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A expected N/A boot_device persistent None None N/A N/A N/A self assertEqual expected N/A N/A N/A N/A self driver management get_boot_device task N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test_get_force_boot_device_persistent N/A N/A self N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A task node driver_info N/A ipmi_force_boot_device True N/A N/A N/A N/A task node driver_internal_info N/A persistent_boot_device pxe N/A bootdev N/A N/A N/A N/A self driver management get_boot_device task N/A N/A N/A self assertEqual pxe N/A bootdev N/A boot_device N/A N/A N/A self assertTrue N/A bootdev N/A persistent N/A test_management_interface_validate_good N/A N/A self N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A N/A task driver management validate task N/A test_management_interface_validate_fail N/A N/A self N/A N/A N/A node N/A N/A obj_utils create_test_node N/A self context uuid N/A N/A uuidutils generate_uuid driver fake_ipminative N/A N/A N/A task_manager acquire N/A self context N/A node uuid task N/A N/A N/A N/A self assertRaises N/A exception MissingParameterValue N/A N/A N/A task driver management validate task N/A test_get_sensors_data N/A N/A self ipmi_mock N/A N/A N/A ipmicmd N/A ipmi_mock return_value N/A N/A N/A ipmicmd get_sensor_data return_value None N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A N/A self driver management get_sensors_data task N/A N/A N/A N/A ipmicmd get_sensor_data assert_called_once_with N/A N/A N/A mock patch pyghmi.ipmi.command.Command autospec True test_start_console N/A N/A self mock_exec N/A N/A N/A N/A mock_exec return_value None N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A N/A self driver console start_console task N/A N/A N/A mock_exec assert_called_once_with N/A N/A self info N/A uuid N/A N/A self info N/A port N/A mock ANY N/A N/A N/A self assertTrue N/A mock_exec called N/A N/A N/A N/A mock patch object console_utils start_shellinabox_console autospec True test_start_console_fail N/A N/A self mock_exec N/A N/A N/A N/A mock_exec side_effect N/A iter N/A N/A N/A exception ConsoleSubprocessFailed error error N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A self assertRaises N/A exception ConsoleSubprocessFailed N/A N/A N/A self driver console start_console task N/A N/A N/A N/A mock patch object console_utils start_shellinabox_console autospec True test_stop_console N/A N/A self mock_exec N/A N/A N/A N/A mock_exec return_value None N/A N/A N/A task_manager acquire N/A self context N/A N/A self node N/A uuid task N/A N/A N/A N/A N/A N/A self driver console stop_console task N/A N/A N/A mock_exec assert_called_once_with N/A N/A self info N/A uuid N/A N/A N/A self assertTrue N/A mock_exec called N/A N/A N/A N/A mock patch object console_utils stop_shellinabox_console autospec True test_stop_console_fail N/A N/A self mock_stop N/A N/A N/A N/A mock_stop side_effect N/A iter N/A N/A N/A exception ConsoleError N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A self assertRaises N/A exception ConsoleError N/A N/A N/A self driver console stop_console task N/A N/A N/A mock_stop assert_called_once_with N/A N/A self node uuid N/A N/A N/A N/A mock patch object console_utils stop_shellinabox_console autospec True test_get_console N/A N/A self mock_exec N/A N/A N/A url http://localhost:4201 N/A N/A mock_exec return_value url N/A expected N/A type url shellinabox url N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A console_info N/A N/A N/A N/A self driver console get_console task N/A N/A N/A self assertEqual expected console_info N/A N/A N/A mock_exec assert_called_once_with N/A N/A self info N/A port N/A N/A N/A self assertTrue N/A mock_exec called N/A N/A N/A N/A mock patch object console_utils get_shellinabox_console_url autospec True test_vendor_passthru_validate__send_raw_bytes_good N/A N/A self mock_raw mock_driver N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A N/A self driver vendor validate task method send_raw http_method POST raw_bytes 0x00 0x01 N/A N/A N/A mock_raw assert_called_once_with 0x00 0x01 N/A N/A N/A mock_driver assert_called_once_with N/A task node N/A N/A N/A N/A mock patch object ipminative _parse_driver_info autospec True N/A N/A N/A mock patch object ipminative _parse_raw_bytes autospec True test_vendor_passthru_validate__send_raw_bytes_fail N/A N/A self N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A self assertRaises N/A exception MissingParameterValue N/A N/A N/A self driver vendor validate task method send_raw N/A test_vendor_passthru_vendor_routes N/A N/A self N/A N/A N/A expected N/A send_raw bmc_reset N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid shared True task N/A N/A vendor_routes N/A N/A N/A task driver vendor vendor_routes N/A N/A N/A self assertIsInstance vendor_routes dict N/A N/A N/A self assertEqual N/A sorted expected N/A sorted vendor_routes N/A test_send_raw N/A N/A self send_raw_mock N/A N/A N/A bytes 0x00 0x01 N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A N/A self driver vendor send_raw task http_method POST raw_bytes bytes N/A N/A N/A send_raw_mock assert_called_once_with N/A self info bytes N/A N/A N/A N/A mock patch object ipminative _send_raw autospec True _test_bmc_reset N/A N/A self warm expected_bytes send_raw_mock N/A N/A N/A N/A N/A task_manager acquire N/A self context N/A N/A self node uuid task N/A N/A N/A N/A N/A N/A self driver vendor bmc_reset task http_method POST warm warm N/A N/A N/A send_raw_mock assert_called_once_with N/A self info expected_bytes N/A N/A N/A N/A mock patch object ipminative _send_raw autospec True test_bmc_reset_cold N/A N/A self N/A N/A N/A param N/A False false off n no N/A N/A N/A N/A self _test_bmc_reset param 0x06 0x02 N/A test_bmc_reset_warm N/A N/A self N/A N/A N/A param N/A True true on y yes N/A N/A N/A N/A self _test_bmc_reset param 0x06 0x03 N/A N/A