The ironic.tests.unit.db.test_api Module

The ironic.tests.unit.db.test_api Module

class ironic.tests.unit.db.test_api.BackfillVersionTestCase(*args, **kwds)[source]

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

setUp()[source]
test_empty_db()[source]
test_max_count_zero()[source]
test_no_version_max_count_2_some_conductors()[source]
test_no_version_max_count_same()[source]
test_one_conductor()[source]
test_version_exists()[source]
class ironic.tests.unit.db.test_api.MigrateToHardwareTypesTestCase(*args, **kwds)[source]

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

setUp()[source]
test_migrate(*args, **keywargs)[source]
test_migrate_unsupported(*args, **keywargs)[source]
class ironic.tests.unit.db.test_api.UpdateToLatestVersionsTestCase(*args, **kwds)[source]

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

setUp()[source]
test_empty_db()[source]
test_max_count_zero()[source]
test_old_version_max_count_1()[source]
test_old_version_max_count_2_some_nodes()[source]
test_old_version_max_count_same_nodes()[source]
test_one_node()[source]
test_version_exists()[source]
class ironic.tests.unit.db.test_api.UpgradingTestCase(*args, **kwds)[source]

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

setUp()[source]
test_check_versions()[source]
test_check_versions_conductor()[source]
test_check_versions_conductor_no_version()[source]
test_check_versions_conductor_old()[source]
test_check_versions_emptyDB()[source]
test_check_versions_node_no_version()[source]
test_check_versions_node_old()[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.