tests.unit_tests.config.validation.test_any_true#
Functions
Test the validation when a :class: ~yawning_titan.config.item_types.bool_item.BoolItem is True. |
|
Test the validation when a :class: ~yawning_titan.config.item_types.bool_item.BoolItem is True. |
|
A test group with a mixture of :class: ~yawning_titan.config.item_types.bool_item.BoolItem's and :class: ~yawning_titan.config.groups.core.UseValueGroup's. |
|
Test the validation when an item is not of a numeric type. |
|
Test the validation when no elements are used. |
Classes
Basic implementation of validation group :class: ~yawning_titan.config.groups.validation.AnyTrueGroup. |
- class tests.unit_tests.config.validation.test_any_true.Group(doc=None)[source]#
Basic implementation of validation group :class: ~yawning_titan.config.groups.validation.AnyTrueGroup.
The ConfigGroup constructor.
- Parameters:
doc – The groups doc.
- tests.unit_tests.config.validation.test_any_true.test_group()[source]#
A test group with a mixture of :class: ~yawning_titan.config.item_types.bool_item.BoolItem’s and :class: ~yawning_titan.config.groups.core.UseValueGroup’s.
- tests.unit_tests.config.validation.test_any_true.test_bool_item_true(test_group)[source]#
Test the validation when a :class: ~yawning_titan.config.item_types.bool_item.BoolItem is True.
- tests.unit_tests.config.validation.test_any_true.test_bool_item_multiple_true(test_group)[source]#
Test the validation when a :class: ~yawning_titan.config.item_types.bool_item.BoolItem is True.