The ironic.tests.unit.api.v1.test_ramdisk Module

Tests for the API /lookup/ methods.

class ironic.tests.unit.api.v1.test_ramdisk.TestHeartbeat(*args, **kwargs)[source]

Bases: ironic.tests.unit.api.base.BaseApiTest

test_node_not_found(*args, **keywargs)[source]
test_ok(*args, **keywargs)[source]
test_old_api_version(*args, **keywargs)[source]
class ironic.tests.unit.api.v1.test_ramdisk.TestLookup(*args, **kwargs)[source]

Bases: ironic.tests.unit.api.base.BaseApiTest

setUp()[source]
test_found_by_addresses()[source]
test_found_by_only_uuid()[source]
test_found_by_uuid()[source]
test_ignore_malformed_address(*args, **keywargs)[source]
test_no_restrict_lookup()[source]
test_not_found()[source]
test_nothing_provided()[source]
test_old_api_version()[source]
test_restrict_lookup()[source]