The ironic.tests.unit.db.test_portgroups Module

The ironic.tests.unit.db.test_portgroups Module

Tests for manipulating portgroups via the DB API

class ironic.tests.unit.db.test_portgroups.DbportgroupTestCase(*args, **kwds)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test_create_portgroup_duplicated_address()[source]
test_create_portgroup_duplicated_name()[source]
test_create_portgroup_duplicated_uuid()[source]
test_create_portgroup_no_mode()[source]
test_destroy_portgroup()[source]
test_destroy_portgroup_not_empty()[source]
test_destroy_portgroup_that_does_not_exist()[source]
test_destroy_portgroup_uuid()[source]
test_get_portgroup_by_address()[source]
test_get_portgroup_by_address_that_does_not_exist()[source]
test_get_portgroup_by_id()[source]
test_get_portgroup_by_id_that_does_not_exist()[source]
test_get_portgroup_by_name()[source]
test_get_portgroup_by_name_that_does_not_exist()[source]
test_get_portgroup_by_uuid()[source]
test_get_portgroup_by_uuid_that_does_not_exist()[source]
test_get_portgroup_list()[source]
test_get_portgroup_list_sorted()[source]
test_get_portgroups_by_node_id()[source]
test_get_portgroups_by_node_id_that_does_not_exist()[source]
test_update_portgroup()[source]
test_update_portgroup_duplicated_address()[source]
test_update_portgroup_duplicated_name()[source]
test_update_portgroup_not_found()[source]
test_update_portgroup_uuid()[source]
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.