The magnumclient.tests.osc.unit.v1.test_cluster_templates Module

The magnumclient.tests.osc.unit.v1.test_cluster_templates Module

class magnumclient.tests.osc.unit.v1.test_cluster_templates.TestClusterTemplate(*args, **kwargs)

Bases: magnumclient.tests.osc.unit.v1.fakes.TestMagnumClientOSCV1

default_create_args = {'labels': {}, '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()
class 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_floating_ips()

Verifies floating ip parameters.

test_cluster_template_create_missing_required_arg()

Verifies missing required arguments.

test_cluster_template_create_required_args_pass()

Verifies required arguments.

class 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()
class 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 = (('bc813f71e9404afc9ba1fcfa957c5e23', 'fake-ct-1'), ('2a6b97b9600047718fe9f9d4ad4dc9d3', 'fake-ct-2'))
setUp()
test_cluster_template_list_bad_sort_dir_fail()
test_cluster_template_list_no_options()
test_cluster_template_list_options()
class 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()
class 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()
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.