Orchestrata Ultimate › Tests › Reference › session › test_hook_registry

Tests reference — tests/session/test_hook_registry.py

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

Prose pending.

tests/session/test_hook_registry.py

source · 21 tests · 256 lines

Covers: session.hook_registry

Kind Name Line Description
function test_hook_points 43
function test_registry_init 50
function test_add_and_count 61
function test_add_multiple_same_point 71
function test_add_different_points 85
function test_add_invalid_point 98
function test_remove_existing 109
function test_remove_nonexistent 120
function test_remove_invalid_point 129
function test_remove_wrong_point 135
function test_remove_only_one_of_many 145
function test_fire_runs_hooks 165
function test_fire_runs_multiple_hooks 174
function test_fire_no_hooks 183
function test_fire_invalid_point 188
function test_fire_exception_in_hook_does_not_propagate 194
function test_fire_passes_kwargs 210
function test_clear_specific_point 223
function test_clear_all 232
function test_clear_invalid_point 242
function test_count_invalid_point 253