Orchestrata Ultimate › Tests › Reference › kernel › test_volk_registry_pure

Tests reference — tests/kernel/test_volk_registry_pure.py

Module of tests/kernel, split out because the directory page would be too large.

Prose pending.

tests/kernel/test_volk_registry_pure.py

source · 31 tests · 342 lines

Tests for agents/volk_registry.py — pure methods without Redis.

Covers: agents.volk_registry, core.base.traces, kernel.audit.logger, kernel.audit.model

Kind Name Line Description
class TestVolkRegistryValidation 49
method TestVolkRegistryValidation.test_validate_alias_empty 50
method TestVolkRegistryValidation.test_validate_alias_too_short 55
method TestVolkRegistryValidation.test_validate_alias_too_long 60
method TestVolkRegistryValidation.test_validate_alias_invalid_prefix 65
method TestVolkRegistryValidation.test_validate_alias_valid 70
method TestVolkRegistryValidation.test_validate_capabilities_empty_name 76
method TestVolkRegistryValidation.test_validate_capabilities_invalid_chars 81
method TestVolkRegistryValidation.test_validate_capabilities_valid 86
method TestVolkRegistryValidation.test_validate_definition_duplicate_alias 92
class TestVolkRegistryRegistration 99
method TestVolkRegistryRegistration.test_register_volk_returns_registration 100
method TestVolkRegistryRegistration.test_register_volk_stores_in_registry 108
method TestVolkRegistryRegistration.test_get_volk_missing_returns_none 114
method TestVolkRegistryRegistration.test_is_registered_false 118
method TestVolkRegistryRegistration.test_list_volks_empty 122
method TestVolkRegistryRegistration.test_list_volks_returns_all 126
class TestVolkRegistryQuerying 136
method TestVolkRegistryQuerying.test_list_by_capability 137
method TestVolkRegistryQuerying.test_list_by_protocol 161
class TestVolkRegistryMetadata 176
method TestVolkRegistryMetadata.test_get_metadata 177
method TestVolkRegistryMetadata.test_get_health_running 183
method TestVolkRegistryMetadata.test_get_health_stopped 189
class TestVolkRegistryTokenGeneration 196
method TestVolkRegistryTokenGeneration.test_generate_token_format 197
method TestVolkRegistryTokenGeneration.test_generate_token_unique 206
class TestVolkRegistryHeartbeat 213
method TestVolkRegistryHeartbeat.test_record_heartbeat_transitions_to_active 214
method TestVolkRegistryHeartbeat.test_record_heartbeat_unknown_volk_returns_false 229
method TestVolkRegistryHeartbeat.test_stale_heartbeat_marks_volk_inactive 233
method TestVolkRegistryHeartbeat.test_fresh_heartbeat_marks_volk_active 243
class TestDataclassRoundTrip 253
method TestDataclassRoundTrip.test_resource_requirements_round_trip 254
method TestDataclassRoundTrip.test_volk_capability_round_trip 261
method TestDataclassRoundTrip.test_volk_definition_round_trip 269
class TestVolkRegistryAuditWiring 278 SPEC-001 US-008 REQ-008-007: the volk-lifecycle audit trail added to
method TestVolkRegistryAuditWiring.test_default_construction_leaves_audit_disabled 286 The suite-wide ORCHESTRATA_KERNEL_AUDIT_DISABLED=1 default
method TestVolkRegistryAuditWiring.test_register_and_deregister_fire_audit_entries 297