Module Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A mock magnumclient exceptions magnumclient.tests.v1 shell_test_base ShellTest N/A N/A shell_test_base TestCommandLineArgument N/A test_rc_list_success N/A N/A self mock_list mock_get N/A N/A N/A mockbay N/A N/A mock MagicMock N/A N/A mockbay status CREATE_COMPLETE N/A N/A mock_get return_value mockbay N/A N/A N/A self _test_arg_success rc-list --bay bay_ident N/A N/A N/A self assertTrue N/A mock_list called N/A N/A N/A mock patch magnumclient.v1.bays.BayManager.get N/A N/A mock patch magnumclient.v1.replicationcontrollers.ReplicationControllerManager.list test_rc_list_failure N/A N/A self mock_list N/A N/A N/A N/A N/A self _test_arg_failure rc-list --bay bay_ident --wrong N/A self _unrecognized_arg_error N/A N/A N/A self assertFalse N/A mock_list called N/A N/A N/A mock patch magnumclient.v1.replicationcontrollers.ReplicationControllerManager.list test_rc_list_failure_invalid_bay_status N/A N/A self mock_list mock_get N/A N/A N/A mockbay N/A N/A mock MagicMock N/A N/A mockbay status CREATE_IN_PROGRESS N/A N/A mock_get return_value mockbay N/A N/A N/A self assertRaises N/A exceptions InvalidAttribute N/A self _test_arg_failure rc-list --bay bay_ident N/A self _bay_status_error N/A N/A N/A self assertFalse N/A mock_list called N/A N/A N/A mock patch magnumclient.v1.bays.BayManager.get N/A N/A mock patch magnumclient.v1.replicationcontrollers.ReplicationControllerManager.list test_rc_create_success N/A N/A self mock_create mock_get N/A N/A N/A mockbay N/A N/A mock MagicMock N/A N/A mockbay status CREATE_COMPLETE N/A N/A mock_get return_value mockbay N/A N/A N/A self _test_arg_success rc-create --bay xxx --manifest test --manifest-url test_url N/A N/A N/A self assertTrue N/A mock_create called N/A N/A N/A mock patch magnumclient.v1.bays.BayManager.get N/A N/A mock patch magnumclient.v1.replicationcontrollers.ReplicationControllerManager.create test_rc_create_failure_few_arg N/A N/A self mock_create mock_get N/A N/A N/A N/A N/A self _test_arg_failure rc-create --manifest test --manifest-url test_url N/A self _mandatory_arg_error N/A N/A N/A self assertFalse N/A mock_create called N/A N/A N/A self _test_arg_failure rc-create bay xxx --manifest-url test_url N/A self _mandatory_arg_error N/A N/A N/A self assertFalse N/A mock_create called N/A N/A N/A mock patch magnumclient.v1.bays.BayManager.get N/A N/A mock patch magnumclient.v1.replicationcontrollers.ReplicationControllerManager.create test_rc_create_failure_invalid_bay_status N/A N/A self mock_create mock_get N/A N/A N/A mockbay N/A N/A mock MagicMock N/A N/A mockbay status CREATE_IN_PROGRESS N/A N/A mock_get return_value mockbay N/A N/A N/A self assertRaises N/A exceptions InvalidAttribute N/A self _test_arg_failure rc-create --bay xxx --manifest test --manifest-url test_url N/A self _bay_status_error N/A N/A N/A self assertFalse N/A mock_create called N/A N/A N/A mock patch magnumclient.v1.bays.BayManager.get N/A N/A mock patch magnumclient.v1.replicationcontrollers.ReplicationControllerManager.create test_rc_delete_success N/A N/A self mock_delete N/A N/A N/A N/A N/A self _test_arg_success rc-delete xxx --bay zzz N/A N/A N/A self assertTrue N/A mock_delete called N/A N/A N/A mock patch magnumclient.v1.replicationcontrollers.ReplicationControllerManager.delete test_rc_delete_failure_no_arg N/A N/A self mock_delete N/A N/A N/A N/A N/A self _test_arg_failure rc-delete xxx N/A self _mandatory_arg_error N/A N/A N/A self assertFalse N/A mock_delete called N/A N/A N/A mock patch magnumclient.v1.replicationcontrollers.ReplicationControllerManager.delete test_rc_show_success N/A N/A self mock_show N/A N/A N/A N/A N/A self _test_arg_success rc-show xxx --bay zzz N/A N/A N/A self assertTrue N/A mock_show called N/A N/A N/A self assertEqual 1 N/A mock_show call_count N/A N/A N/A mock patch magnumclient.v1.replicationcontrollers.ReplicationControllerManager.get test_rc_show_failure_no_arg N/A N/A self mock_show N/A N/A N/A N/A N/A self _test_arg_failure rc-show xxx N/A self _mandatory_arg_error N/A N/A N/A self assertFalse N/A mock_show called N/A N/A N/A mock patch magnumclient.v1.replicationcontrollers.ReplicationControllerManager.get test_rc_update_success N/A N/A self mock_update N/A N/A N/A N/A N/A self _test_arg_success rc-update xxx --bay zzz replace xxx=xxx N/A N/A N/A self assertTrue N/A mock_update called N/A N/A N/A self assertEqual 1 N/A mock_update call_count N/A N/A N/A mock patch magnumclient.v1.replicationcontrollers.ReplicationControllerManager.update test_rc_update_failure_no_arg N/A N/A self mock_update N/A N/A N/A N/A N/A self _test_arg_failure rc-update xxx N/A self _few_argument_error N/A N/A N/A self assertFalse N/A mock_update called N/A N/A N/A mock patch magnumclient.v1.replicationcontrollers.ReplicationControllerManager.update N/A