magnumclient.tests.osc.unit.v1.test_cluster_templates
Module¶magnumclient.tests.osc.unit.v1.test_cluster_templates.
TestClusterTemplate
(*args, **kwargs)¶Bases: magnumclient.tests.osc.unit.v1.fakes.TestMagnumClientOSCV1
default_create_args
= {'labels': {}, 'floating_ip_enabled': True, 'fixed_subnet': None, 'master_flavor_id': None, 'no_proxy': None, 'https_proxy': None, 'tls_disabled': False, 'keypair_id': None, 'public': False, 'http_proxy': None, 'docker_volume_size': None, 'server_type': 'vm', 'external_network_id': 'public', 'image_id': 'fedora-atomic-latest', 'volume_driver': None, 'registry_enabled': False, 'docker_storage_driver': 'devicemapper', 'name': 'fake-ct-1', 'network_driver': None, 'fixed_network': None, 'coe': 'kubernetes', 'flavor_id': 'm1.medium', 'master_lb_enabled': False, 'dns_nameserver': '8.8.8.8'}¶setUp
()¶magnumclient.tests.osc.unit.v1.test_cluster_templates.
TestClusterTemplateCreate
(*args, **kwargs)¶Bases: magnumclient.tests.osc.unit.v1.test_cluster_templates.TestClusterTemplate
setUp
()¶test_cluster_template_create_missing_required_arg
()¶Verifies missing required arguments.
test_cluster_template_create_required_args_pass
()¶Verifies required arguments.
magnumclient.tests.osc.unit.v1.test_cluster_templates.
TestClusterTemplateDelete
(*args, **kwargs)¶Bases: magnumclient.tests.osc.unit.v1.test_cluster_templates.TestClusterTemplate
setUp
()¶test_cluster_template_delete_bad_uuid
()¶test_cluster_template_delete_multiple
()¶test_cluster_template_delete_no_uuid
()¶test_cluster_template_delete_one
()¶magnumclient.tests.osc.unit.v1.test_cluster_templates.
TestClusterTemplateList
(*args, **kwargs)¶Bases: magnumclient.tests.osc.unit.v1.test_cluster_templates.TestClusterTemplate
attr
= {'name': 'fake-ct-2'}¶columns
= ['uuid', 'name']¶datalist
= (('5a466f7cbbec49048f374002f20f88aa', 'fake-ct-1'), ('94abf9a32ad142598e9c027308023e70', 'fake-ct-2'))¶setUp
()¶test_cluster_template_list_bad_sort_dir_fail
()¶test_cluster_template_list_no_options
()¶test_cluster_template_list_options
()¶magnumclient.tests.osc.unit.v1.test_cluster_templates.
TestClusterTemplateShow
(*args, **kwargs)¶Bases: magnumclient.tests.osc.unit.v1.test_cluster_templates.TestClusterTemplate
attr
= {'name': 'fake-ct-1'}¶columns
= ['insecure_registry', 'labels', 'updated_at', 'floating_ip_enabled', 'fixed_subnet', 'master_flavor_id', 'uuid', 'no_proxy', 'https_proxy', 'tls_disabled', 'keypair_id', 'public', 'http_proxy', 'docker_volume_size', 'server_type', 'external_network_id', 'cluster_distro', 'image_id', 'volume_driver', 'registry_enabled', 'docker_storage_driver', 'apiserver_port', 'name', 'created_at', 'network_driver', 'fixed_network', 'coe', 'flavor_id', 'master_lb_enabled', 'dns_nameserver']¶setUp
()¶test_cluster_template_show
()¶test_cluster_template_show_no_ct_fail
()¶magnumclient.tests.osc.unit.v1.test_cluster_templates.
TestClusterTemplateUpdate
(*args, **kwargs)¶Bases: magnumclient.tests.osc.unit.v1.test_cluster_templates.TestClusterTemplate
setUp
()¶test_cluster_template_update_bad_op
()¶test_cluster_template_update_pass
()¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.