moo.core.tests.test_provenance

Tests for always-on provenance and tagged output (spec 200, item E).

Functions

test_capture_provenance_stack(t_init, t_wizard)

test_default_kind_is_text(t_init, t_wizard)

test_envelope_carries_provenance_and_kind(...)

test_notify_rejects_unknown_kind(t_init, ...)

test_notify_say_allowed(t_init, t_wizard)

test_notify_system_allowed_for_wizard_initiator(...)

test_notify_system_requires_wizard_initiator(...)

A wizard-owned verb run on behalf of an ordinary user cannot forge a system line.

test_provenance_none_without_frame(t_init, ...)

test_resolve_provenance_account(t_init, t_wizard)