The ironicclient.tests.unit.v1.test_create_resources Module

class ironicclient.tests.unit.v1.test_create_resources.CreateMethodsTest(*args, **kwargs)[source]

Bases: ironicclient.tests.unit.utils.BaseTestCase

setUp()[source]
test_create_chassis(*args, **keywargs)[source]
test_create_chassis_exception(*args, **keywargs)[source]
test_create_chassis_no_nodes(*args, **keywargs)[source]
test_create_nodes(*args, **keywargs)[source]
test_create_nodes_exception(*args, **keywargs)[source]
test_create_nodes_no_ports(*args, **keywargs)[source]
test_create_nodes_two_chassis_uuids(*args, **keywargs)[source]
test_create_ports()[source]
test_create_ports_two_node_uuids()[source]
test_create_single_chassis()[source]
test_create_single_chassis_with_nodes()[source]
test_create_single_node()[source]
test_create_single_node_raises_client_exception()[source]
test_create_single_node_raises_invalid_exception()[source]
test_create_single_node_with_ports()[source]
test_create_single_port()[source]
class ironicclient.tests.unit.v1.test_create_resources.CreateResourcesTest(*args, **kwargs)[source]

Bases: ironicclient.tests.unit.utils.BaseTestCase

setUp()[source]
test_create_resources(*args, **keywargs)[source]
test_create_resources_cannot_read_schema(*args, **keywargs)[source]
test_create_resources_ironic_fails_to_create(*args, **keywargs)[source]
test_create_resources_validation_fails(*args, **keywargs)[source]
test_create_resources_validation_fails_multiple(*args, **keywargs)[source]
class ironicclient.tests.unit.v1.test_create_resources.CreateSchemaTest(*args, **kwargs)[source]

Bases: ironicclient.tests.unit.utils.BaseTestCase

test_schema()[source]
class ironicclient.tests.unit.v1.test_create_resources.LoadFromFileTest(*args, **kwargs)[source]

Bases: ironicclient.tests.unit.utils.BaseTestCase

test_load_incorrect_json(*args, **keywargs)[source]
test_load_incorrect_yaml(*args, **keywargs)[source]
test_load_ioerror(*args, **keywargs)[source]
test_load_json(*args, **keywargs)[source]
test_load_unknown_extension(*args, **keywargs)[source]
test_load_yaml(*args, **keywargs)[source]