The ironic.tests.unit.objects.test_fields Module

class ironic.tests.unit.objects.test_fields.TestFlexibleDictField(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_coerce()[source]
test_coerce_bad_values()[source]
test_coerce_nullable_translation()[source]
class ironic.tests.unit.objects.test_fields.TestMacAddressField(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_coerce()[source]
test_coerce_bad_values()[source]
class ironic.tests.unit.objects.test_fields.TestNotificationLevelField(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_coerce_bad_value()[source]
test_coerce_good_value()[source]
class ironic.tests.unit.objects.test_fields.TestStringFieldThatAcceptsCallable(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test__repr__includes_default_function_name_and_source_hash()[source]
test_coerce_default_as_function()[source]
test_coerce_function()[source]
test_coerce_function_invalid_type()[source]
test_coerce_invalid_type()[source]
test_coerce_string()[source]

Project Source

This Page