tests.unit_tests.config.validation.test_any_used#
Functions
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 no elements are used. |
|
Test the validation when a :class: ~yawning_titan.config.groups.core.UseValueGroup is used. |
|
Test the validation when a :class: ~yawning_titan.config.groups.core.UseValueGroup is used and :class: ~yawning_titan.config.item_types.bool_item.BoolItem. |
Classes
Basic implementation of validation group :class: ~yawning_titan.config.groups.validation.AnyUsedGroup. |
- class tests.unit_tests.config.validation.test_any_used.Group(doc=None)[source]#
Basic implementation of validation group :class: ~yawning_titan.config.groups.validation.AnyUsedGroup.
The ConfigGroup constructor.
- Parameters:
doc – The groups doc.
- tests.unit_tests.config.validation.test_any_used.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_used.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_used.test_use_value_used(test_group)[source]#
Test the validation when a :class: ~yawning_titan.config.groups.core.UseValueGroup is used.