Module Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body 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 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 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 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 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 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 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 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 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 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 decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str 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 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 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 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 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 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 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 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 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 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 decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad 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 decorator_list
N/A N/A mock magnumclient.tests.v1 shell_test_base ShellTest N/A N/A shell_test_base TestCommandLineArgument N/A test_baymodel_create_success N/A N/A self mock_create N/A N/A N/A N/A N/A self _test_arg_success baymodel-create --name test --image-id test_image --keypair-id test_keypair --external-network-id test_net --coe swarm --dns-nameserver test_dns --flavor-id test_flavor --fixed-network public --volume-driver test_volume --network-driver test_driver --labels key=val --master-flavor-id test_flavor --docker-volume-size 10 --public N/A N/A N/A self assertTrue N/A mock_create called N/A N/A N/A self _test_arg_success baymodel-create --keypair-id test_keypair --external-network-id test_net --image-id test_image --coe kubernetes --name test  N/A N/A N/A self assertTrue N/A mock_create called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.create test_baymodel_create_success_with_registry_enabled N/A N/A self mock_create N/A N/A N/A N/A N/A self _test_arg_success baymodel-create --name test --network-driver test_driver --keypair-id test_keypair --external-network-id test_net --image-id test_image --coe swarm --registry-enabled N/A N/A N/A self assertTrue N/A mock_create called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.create test_baymodel_create_public_success N/A N/A self mock_create N/A N/A N/A N/A N/A self _test_arg_success baymodel-create --name test --network-driver test_driver --keypair-id test_keypair --external-network-id test_net --image-id test_image --coe swarm--public N/A N/A N/A self assertTrue N/A mock_create called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.create test_baymodel_create_success_with_master_flavor N/A N/A self mock_create N/A N/A N/A N/A N/A self _test_arg_success baymodel-create --name test --image-id test_image --keypair-id test_keypair --external-network-id test_net --coe swarm --dns-nameserver test_dns --master-flavor-id test_flavor N/A N/A N/A self assertTrue N/A mock_create called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.create test_baymodel_create_docker_vol_size_success N/A N/A self mock_create N/A N/A N/A N/A N/A self _test_arg_success baymodel-create --name test --docker-volume-size 4514 --keypair-id test_keypair --external-network-id test_net --image-id test_image --coe swarm N/A N/A N/A self assertTrue N/A mock_create called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.create test_baymodel_create_fixed_network_success N/A N/A self mock_create N/A N/A N/A N/A N/A self _test_arg_success baymodel-create --name test --fixed-network private --keypair-id test_keypair --external-network-id test_net --image-id test_image --coe swarm N/A N/A N/A self assertTrue N/A mock_create called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.create test_baymodel_create_network_driver_success N/A N/A self mock_create N/A N/A N/A N/A N/A self _test_arg_success baymodel-create --name test --network-driver test_driver --keypair-id test_keypair --external-network-id test_net --image-id test_image --coe swarm N/A N/A N/A self assertTrue N/A mock_create called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.create test_baymodel_create_volume_driver_success N/A N/A self mock_create N/A N/A N/A N/A N/A self _test_arg_success baymodel-create --name test --volume-driver test_volume --keypair-id test_keypair --external-network-id test_net --image-id test_image --coe swarm N/A N/A N/A self assertTrue N/A mock_create called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.create test_baymodel_create_http_proxy_success N/A N/A self mock_create N/A N/A N/A N/A N/A self _test_arg_success baymodel-create --name test --fixed-network private --keypair-id test_keypair --external-network-id test_net --image-id test_image --coe swarm --http-proxy http_proxy  N/A N/A N/A self assertTrue N/A mock_create called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.create test_baymodel_create_https_proxy_success N/A N/A self mock_create N/A N/A N/A N/A N/A self _test_arg_success baymodel-create --name test --fixed-network private --keypair-id test_keypair --external-network-id test_net --image-id test_image --coe swarm --https-proxy https_proxy  N/A N/A N/A self assertTrue N/A mock_create called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.create test_baymodel_create_no_proxy_success N/A N/A self mock_create N/A N/A N/A N/A N/A self _test_arg_success baymodel-create --name test --fixed-network private --keypair-id test_keypair --external-network-id test_net --image-id test_image --coe swarm --no-proxy no_proxy  N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.create test_baymodel_create_labels_success N/A N/A self mock_create N/A N/A N/A N/A N/A self _test_arg_success baymodel-create --name test --labels key=val --keypair-id test_keypair --external-network-id test_net --image-id test_image --coe swarm N/A N/A N/A self assertTrue N/A mock_create called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.create test_baymodel_create_separate_labels_success N/A N/A self mock_create N/A N/A N/A N/A N/A self _test_arg_success baymodel-create --name test --labels key1=val1 --labels key2=val2 --keypair-id test_keypair --external-network-id test_net --image-id test_image --coe swarm N/A N/A N/A self assertTrue N/A mock_create called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.create test_baymodel_create_combined_labels_success N/A N/A self mock_create N/A N/A N/A N/A N/A self _test_arg_success baymodel-create --name test --labels key1=val1,key2=val2 --keypair-id test_keypair --external-network-id test_net --image-id test_image --coe swarm N/A N/A N/A self assertTrue N/A mock_create called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.create test_baymodel_create_failure_few_arg N/A N/A self mock_create N/A N/A N/A N/A N/A self _test_arg_failure baymodel-create --name test 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 baymodel-create --image-id test 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 baymodel-create --keypair-id test 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 baymodel-create --external-network-id test 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 baymodel-create --coe test 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 baymodel-create 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.baymodels.BayModelManager.create test_baymodel_show_success N/A N/A self mock_show N/A N/A N/A N/A N/A self _test_arg_success baymodel-show xxx N/A N/A N/A self assertTrue N/A mock_show called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.get test_baymodel_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 baymodel-show N/A self _few_argument_error N/A N/A N/A self assertFalse N/A mock_show called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.get test_baymodel_delete_success N/A N/A self mock_delete N/A N/A N/A N/A N/A self _test_arg_success baymodel-delete xxx N/A N/A N/A self assertTrue N/A mock_delete called N/A N/A N/A self assertEqual 1 N/A mock_delete call_count N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.delete test_baymodel_delete_multiple_id_success N/A N/A self mock_delete N/A N/A N/A N/A N/A self _test_arg_success baymodel-delete xxx xyz N/A N/A N/A self assertTrue N/A mock_delete called N/A N/A N/A self assertEqual 2 N/A mock_delete call_count N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.delete test_baymodel_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 baymodel-delete N/A self _few_argument_error N/A N/A N/A self assertFalse N/A mock_delete called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.delete test_baymodel_list_success N/A N/A self mock_list N/A N/A N/A N/A N/A self _test_arg_success baymodel-list N/A N/A N/A self assertTrue N/A mock_list called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.list test_baymodel_list_success_with_arg N/A N/A self mock_list N/A N/A N/A N/A N/A self _test_arg_success baymodel-list --limit 1 --sort-dir asc --sort-key uuid N/A N/A N/A self assertTrue N/A mock_list called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.list test_baymodel_list_failure_invalid_arg N/A N/A self mock_list N/A N/A N/A _error_msg N/A .*?^usage: magnum baymodel-list  .*?^error: argument --sort-dir: invalid choice:  .*?^Try 'magnum help baymodel-list' for more information. N/A N/A N/A self _test_arg_failure baymodel-list --sort-dir aaa _error_msg N/A N/A N/A self assertFalse N/A mock_list called N/A N/A N/A mock patch magnumclient.v1.baymodels.BayModelManager.list test_baymodel_list_failure N/A N/A self mock_list N/A N/A N/A N/A N/A self _test_arg_failure baymodel-list --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.baymodels.BayModelManager.list N/A