Orchestrata Ultimate › Tests › Reference › core › protocols

Tests reference — tests/core/protocols

tests/core/protocols — 3 test modules, 15 test functions. Source tree: tests/core/protocols at commit 8a2cb42ad. Generated from the tests AST snapshot by scripts/gen-data-pages.py.

Prose pending.

Modules

Module Tests Covers
test_agent.py 6 1
test_volk_health.py 9 2

Module details

tests/core/protocols/test_agent.py

source · 6 tests · 79 lines

Tests for core.protocols.agent (VolkProtocol).

Covers: core.protocols.agent

Kind Name Line Description
class TestVolkProtocol 28
method TestVolkProtocol.test_is_protocol 29
method TestVolkProtocol.test_has_required_methods 34
method TestVolkProtocol.test_has_required_properties 38
class TestBareVolkDefaults 60
method TestBareVolkDefaults.test_properties_are_noop_returning_none 61
method TestBareVolkDefaults.test_process_intent_body_is_a_noop 68
method TestBareVolkDefaults.test_health_check_body_is_a_noop 75

tests/core/protocols/test_volk_health.py

source · 9 tests · 94 lines

Tests for core.protocols.volk_health — the narrow VolkHealthProbe.

Covers: agents.volk_registry, core.protocols.volk_health

Kind Name Line Description
class TestVolkHealthProbeStructural 37
method TestVolkHealthProbeStructural.test_runtime_checkable_isinstance 38
method TestVolkHealthProbeStructural.test_missing_methods_fails 41
method TestVolkHealthProbeStructural.test_partial_implementation_fails 47
class TestVolkRegistrySatisfiesProbe 58 VolkRegistry satisfies VolkHealthProbe structurally, no inheritance.
method TestVolkRegistrySatisfiesProbe.test_issubclass 61
method TestVolkRegistrySatisfiesProbe.test_isinstance_real_instance 64
method TestVolkRegistrySatisfiesProbe.test_probe_methods_reachable_through_the_protocol_type 67
method TestVolkRegistrySatisfiesProbe.test_probe_methods_reflect_real_registration 73
class TestTraces 87
method TestTraces.test_class_carries_traces 88
method TestTraces.test_methods_carry_traces 91

Support files

Fixtures, package markers and helpers without test functions.