The ironic.tests.unit.db.test_node_tags Module

Tests for manipulating NodeTags via the DB API

class ironic.tests.unit.db.test_node_tags.DbNodeTagTestCase(*args, **kwargs)[source]

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

setUp()[source]
test_add_node_tag()[source]
test_add_node_tag_duplicate()[source]
test_add_node_tag_node_not_exist()[source]
test_delete_node_tag()[source]
test_delete_node_tag_node_not_found()[source]
test_delete_node_tag_not_found()[source]
test_get_node_tags_by_node_id()[source]
test_get_node_tags_empty()[source]
test_get_node_tags_node_not_exist()[source]
test_node_tag_exists()[source]
test_node_tag_not_exists()[source]
test_set_node_tags()[source]
test_set_node_tags_duplicate()[source]
test_set_node_tags_node_not_exist()[source]
test_unset_empty_node_tags()[source]
test_unset_node_tags()[source]
test_unset_node_tags_node_not_exist()[source]

Project Source

This Page