magnumclient.tests.osc.unit.v1.test_clusters
Module¶magnumclient.tests.osc.unit.v1.test_clusters.
TestCluster
(*args, **kwargs)¶Bases: magnumclient.tests.osc.unit.v1.fakes.TestMagnumClientOSCV1
setUp
()¶magnumclient.tests.osc.unit.v1.test_clusters.
TestClusterConfig
(*args, **kwargs)¶Bases: magnumclient.tests.osc.unit.v1.test_clusters.TestCluster
setUp
()¶test_cluster_config_creates_config_in_cwd_if_not_dir_specified
(*args, **kw)¶test_cluster_config_custom_dir_with_config_only_works_if_force
(*args, **kw)¶test_cluster_config_no_cluster_fail
()¶test_cluster_config_with_custom_dir
(*args, **kw)¶test_cluster_config_with_in_progress_status
()¶magnumclient.tests.osc.unit.v1.test_clusters.
TestClusterCreate
(*args, **kwargs)¶Bases: magnumclient.tests.osc.unit.v1.test_clusters.TestCluster
setUp
()¶test_cluster_create_missing_required_arg
()¶Verifies missing required arguments.
test_cluster_create_required_args_pass
()¶Verifies required arguments.
test_cluster_create_with_labels
()¶Verifies labels are properly parsed when given as argument.
magnumclient.tests.osc.unit.v1.test_clusters.
TestClusterDelete
(*args, **kwargs)¶Bases: magnumclient.tests.osc.unit.v1.test_clusters.TestCluster
setUp
()¶test_cluster_delete_bad_uuid
()¶test_cluster_delete_multiple
()¶test_cluster_delete_no_uuid
()¶test_cluster_delete_one
()¶magnumclient.tests.osc.unit.v1.test_clusters.
TestClusterList
(*args, **kwargs)¶Bases: magnumclient.tests.osc.unit.v1.test_clusters.TestCluster
attr
= {'name': 'fake-cluster-1'}¶columns
= ['uuid', 'name', 'keypair', 'node_count', 'master_count', 'status']¶datalist
= (('3a369884-b6ba-484f-a206-919b4b718aff', 'fake-cluster-1', 'fakekey', 1, 1, 'CREATE_IN_PROGRESS'),)¶setUp
()¶test_cluster_list_bad_sort_dir_fail
()¶test_cluster_list_no_options
()¶test_cluster_list_options
()¶magnumclient.tests.osc.unit.v1.test_clusters.
TestClusterShow
(*args, **kwargs)¶Bases: magnumclient.tests.osc.unit.v1.test_clusters.TestCluster
setUp
()¶test_cluster_show_no_cluster_fail
()¶test_cluster_show_pass
()¶magnumclient.tests.osc.unit.v1.test_clusters.
TestClusterUpdate
(*args, **kwargs)¶Bases: magnumclient.tests.osc.unit.v1.test_clusters.TestCluster
setUp
()¶test_cluster_update_bad_op
()¶test_cluster_update_pass
()¶magnumclient.tests.osc.unit.v1.test_clusters.
capture
(*args, **kwds)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.