Orchestrata Ultimate › Tests › Reference › core › domain
Tests reference — tests/core/domain
tests/core/domain — 3 test modules, 25 test functions (cumulative over subdirectories). Source tree: tests/core/domain at commit 8a2cb42ad. Generated from the tests AST snapshot by scripts/gen-data-pages.py.
Prose pending.
Subdirectories
| Directory | Modules | Tests |
|---|---|---|
enums/ |
2 | 2 |
Modules
| Module | Tests | Covers |
|---|---|---|
test_domain_entity.py |
23 | 1 |
Module details
tests/core/domain/test_domain_entity.py
source · 23 tests · 218 lines
Tests for core.domain.domain_entity.
Covers: core.domain.domain_entity
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestDomainEntity |
29 | |
| method | TestDomainEntity.test_init_defaults |
30 | |
| method | TestDomainEntity.test_init_with_values |
37 | |
| method | TestDomainEntity.test_touch_updates_timestamp |
43 | |
| method | TestDomainEntity.test_to_dict |
49 | |
| method | TestDomainEntity.test_to_dict_with_nested_entity |
57 | |
| method | TestDomainEntity.test_to_dict_with_entity_list |
71 | |
| method | TestDomainEntity.test_from_dict |
85 | |
| method | TestDomainEntity.test_from_dict_ignores_private_fields |
93 | |
| method | TestDomainEntity.test_from_dict_skips_missing_fields |
98 | |
| method | TestDomainEntity.test_eq_same_id |
105 | |
| method | TestDomainEntity.test_eq_different_id |
110 | |
| method | TestDomainEntity.test_eq_non_entity |
115 | |
| method | TestDomainEntity.test_hash |
119 | |
| method | TestDomainEntity.test_hash_in_set |
124 | |
| method | TestDomainEntity.test_repr |
130 | |
| method | TestDomainEntity.test_subclass_from_dict |
134 | |
| method | TestDomainEntity.test_from_dict_list_of_strings |
144 | |
| method | TestDomainEntity.test_from_dict_list_of_datetimes |
152 | |
| method | TestDomainEntity.test_from_dict_with_entity_list |
161 | |
| method | TestDomainEntity.test_from_dict_list_field_with_non_list_value |
176 | |
| method | TestDomainEntity.test_from_dict_dict_of_datetimes |
187 | |
| method | TestDomainEntity.test_from_dict_dict_field_without_registered_parser |
196 | |
| method | TestDomainEntity.test_from_dict_with_nested_entity |
206 |