The ironic.tests.unit.db.test_ports Module

Tests for manipulating Ports via the DB API

class ironic.tests.unit.db.test_ports.DbPortTestCase(*args, **kwargs)[source]

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

setUp()[source]
test_create_port_duplicated_address()[source]
test_create_port_duplicated_uuid()[source]
test_destroy_port()[source]
test_get_port_by_address()[source]
test_get_port_by_id()[source]
test_get_port_by_uuid()[source]
test_get_port_list()[source]
test_get_port_list_sorted()[source]
test_get_ports_by_node_id()[source]
test_get_ports_by_node_id_that_does_not_exist()[source]
test_get_ports_by_portgroup_id()[source]
test_get_ports_by_portgroup_id_that_does_not_exist()[source]
test_update_port()[source]
test_update_port_duplicated_address()[source]
test_update_port_uuid()[source]

Project Source

This Page