Module ImportFrom alias identifier ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str Dict Str Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Call AttributeLoad NameLoad attr Str Str NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Call AttributeLoad NameLoad attr Str NameLoad NameLoad TupleLoad Call AttributeLoad NameLoad attr Str Str Str Str NameLoad TupleLoad Call AttributeLoad NameLoad attr Str Str Str Str NameLoad TupleLoad Call AttributeLoad NameLoad attr Str Str NameLoad TupleLoad Call AttributeLoad NameLoad attr Str Str Str Str NameLoad TupleLoad Call AttributeLoad NameLoad attr Str Str Str NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad Call AttributeLoad NameLoad attr Str NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list decorator_list
N/A oslotest base test_base ironic_python_agent errors N/A DETAILS details N/A SAME_CL_DETAILS same_as_class_details N/A DIFF_CL_DETAILS different_from_class_details N/A SAME_CL_MSG same_as_class_message N/A SAME_DETAILS same_as_DETAILS N/A DEFAULT_DETAILS default_resterror_details TestError N/A N/A errors RESTError N/A N/A message message __init__ N/A N/A self details N/A None N/A N/A N/A N/A N/A super TestError self __init__ details N/A N/A TestErrors N/A N/A test_base BaseTestCase N/A test_RESTError N/A N/A self N/A N/A N/A e N/A N/A errors RESTError N/A d N/A N/A e serialize N/A N/A N/A self assertEqual RESTError N/A e type N/A N/A N/A self assertEqual N/A N/A errors RESTError status_code N/A e code N/A N/A N/A self assertEqual N/A N/A errors RESTError message N/A e message N/A N/A N/A self assertEqual N/A N/A errors RESTError details N/A e details N/A N/A N/A self assertEqual RESTError N/A d N/A type N/A N/A N/A self assertEqual N/A N/A errors RESTError status_code N/A d N/A code N/A N/A N/A self assertEqual N/A N/A errors RESTError message N/A d N/A message N/A N/A N/A self assertEqual N/A N/A errors RESTError details N/A d N/A details N/A test_RESTError_details N/A N/A self N/A N/A N/A e N/A N/A errors RESTError DETAILS N/A N/A N/A self assertEqual RESTError N/A e type N/A N/A N/A self assertEqual 500 N/A e code N/A N/A N/A self assertEqual N/A N/A errors RESTError message N/A e message N/A N/A N/A self assertEqual DETAILS N/A e details N/A _test_class N/A N/A self obj check_details N/A N/A N/A Test that the object is created correctly

        :param obj: object to be tested
        :param check_details: how to check the object's details value.
                             One of SAME_CL_DETAILS, DIFF_CL_DETAILS,
                             SAME_CL_MSG, SAME_DETAILS

         N/A obj_info N/A object info = %s N/A obj __dict__ N/A cls N/A obj __class__ N/A d N/A N/A obj serialize N/A N/A N/A self assertEqual N/A cls __name__ N/A obj type obj_info N/A N/A N/A self assertEqual N/A cls status_code N/A obj code obj_info N/A N/A N/A self assertEqual N/A cls message N/A obj message obj_info N/A N/A N/A self assertEqual N/A cls __name__ N/A d N/A type obj_info N/A N/A N/A self assertEqual N/A cls status_code N/A d N/A code obj_info N/A N/A N/A self assertEqual N/A cls message N/A d N/A message obj_info N/A N/A N/A self assertEqual N/A obj details N/A d N/A details obj_info N/A N/A check_details SAME_CL_DETAILS N/A N/A N/A N/A self assertEqual N/A cls details N/A obj details obj_info N/A N/A N/A check_details DIFF_CL_DETAILS N/A N/A N/A N/A self assertNotEqual N/A cls details N/A obj details obj_info N/A N/A N/A check_details SAME_CL_MSG N/A N/A N/A N/A self assertEqual N/A cls message N/A obj details obj_info N/A N/A N/A check_details SAME_DETAILS N/A N/A N/A N/A self assertEqual DETAILS N/A obj details obj_info N/A N/A N/A check_details DEFAULT_DETAILS N/A N/A N/A N/A self assertEqual N/A N/A errors RESTError details N/A obj details obj_info N/A N/A N/A N/A self fail N/A unexpected value for check_details: %(chk)s, %(info)s N/A info chk obj_info check_details N/A test_error_classes N/A N/A self N/A N/A N/A cases N/A N/A N/A N/A errors InvalidContentError DETAILS SAME_DETAILS N/A N/A N/A errors NotFound SAME_CL_DETAILS N/A N/A N/A errors CommandExecutionError DETAILS SAME_DETAILS N/A N/A N/A errors InvalidCommandError DETAILS SAME_DETAILS N/A N/A N/A errors InvalidCommandParamsError DETAILS SAME_DETAILS N/A N/A N/A errors RequestedObjectNotFoundError type_descr obj_id DIFF_CL_DETAILS N/A N/A N/A errors IronicAPIError DETAILS SAME_DETAILS N/A N/A N/A errors HeartbeatError DETAILS SAME_DETAILS N/A N/A N/A errors LookupNodeError DETAILS SAME_DETAILS N/A N/A N/A errors LookupAgentIPError DETAILS SAME_DETAILS N/A N/A N/A errors ImageDownloadError image_id DETAILS DIFF_CL_DETAILS N/A N/A N/A errors ImageChecksumError image_id /foo/image_id incorrect correct DIFF_CL_DETAILS N/A N/A N/A errors ImageWriteError device exit_code stdout stderr DIFF_CL_DETAILS N/A N/A N/A errors ConfigDriveTooLargeError filename filesize DIFF_CL_DETAILS N/A N/A N/A errors ConfigDriveWriteError device exit_code stdout stderr DIFF_CL_DETAILS N/A N/A N/A errors SystemRebootError exit_code stdout stderr DIFF_CL_DETAILS N/A N/A N/A errors BlockDeviceEraseError DETAILS SAME_DETAILS N/A N/A N/A errors BlockDeviceError DETAILS SAME_DETAILS N/A N/A N/A errors VirtualMediaBootError DETAILS SAME_DETAILS N/A N/A N/A errors UnknownNodeError DEFAULT_DETAILS N/A N/A N/A errors UnknownNodeError DETAILS SAME_DETAILS N/A N/A N/A errors HardwareManagerNotFound DEFAULT_DETAILS N/A N/A N/A errors HardwareManagerNotFound DETAILS SAME_DETAILS N/A N/A N/A errors HardwareManagerMethodNotFound method DIFF_CL_DETAILS N/A N/A N/A errors IncompatibleHardwareMethodError DEFAULT_DETAILS N/A N/A N/A errors IncompatibleHardwareMethodError DETAILS SAME_DETAILS N/A N/A obj check_details cases N/A N/A N/A N/A self _test_class obj check_details N/A test_error_string N/A N/A self N/A N/A N/A err N/A TestError test error N/A N/A N/A self assertEqual message: test error N/A str err N/A N/A N/A self assertEqual TestError('message: test error') N/A repr err N/A N/A