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

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

class magnumclient.tests.osc.unit.v1.test_clusters.TestCluster(*args, **kwargs)

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

setUp()
class 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.

class 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()
class 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()
class 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()
class 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()
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.