Test files: 4. Test functions: 64. Described by their authors (docstring or @DisplayName): 0. Where there is no description, the line shows the test name in words and says so.
Latest result: ragleap-flows-tests (3.12) passed 160 passed, 0 skipped, 0 failed CI job ragleap-flows-tests (3.10) passed 160 passed, 0 skipped, 0 failed CI job ragleap-flows-tests (3.11) passed 160 passed, 0 skipped, 0 failed CI job
test_flow_validation.py — 12 tests 16 passed, 0 failed, 0 skipped
No file-level description in the source.
test_a_valid_flow_loads_and_has_a_stable_digestpassed
A valid flow loads and has a stable digest (no description in the source; shown from the name)test_bad_top_level_is_refusedpassed
Bad top level is refused (no description in the source; shown from the name)test_bad_steps_are_refusedpassed
Bad steps are refused (no description in the source; shown from the name)test_duplicate_ids_cycles_and_unreachable_steps_are_refusedpassed
Duplicate ids cycles and unreachable steps are refused (no description in the source; shown from the name)test_a_path_may_only_read_a_step_that_always_runs_before_itpassed
A path may only read a step that always runs before it (no description in the source; shown from the name)test_the_output_may_name_only_real_stepspassed
The output may name only real steps (no description in the source; shown from the name)test_size_and_step_limitspassed
Size and step limits (no description in the source; shown from the name)test_bad_json_text_is_refusedpassed
Bad json text is refused (no description in the source; shown from the name)test_non_text_and_bad_bytes_are_refusedpassed
Non text and bad bytes are refused (no description in the source; shown from the name)test_deeply_nested_json_does_not_crashpassed
Deeply nested json does not crash (no description in the source; shown from the name)test_a_huge_text_with_a_small_flow_inside_is_refused_by_the_text_limitpassed
A huge text with a small flow inside is refused by the text limit (no description in the source; shown from the name)test_a_double_dollar_is_a_literal_in_values_and_refused_as_a_pathpassed
A double dollar is a literal in values and refused as a path (no description in the source; shown from the name)
test_governed_dispatch.py — 7 tests 7 passed, 0 failed, 0 skipped
Flows with a real GovernedToolkit (ragleap-tools 0.6.0 or newer) as the dispatcher.
test_dispatch_gets_the_exact_scope_of_the_runpassed
Dispatch gets the exact scope of the run (no description in the source; shown from the name)test_a_tenants_allowlist_decides_which_flow_steps_can_runpassed
A tenants allowlist decides which flow steps can run (no description in the source; shown from the name)test_an_allowlist_that_fails_denies_every_steppassed
An allowlist that fails denies every step (no description in the source; shown from the name)test_the_owners_approval_hook_is_separate_from_the_flows_own_approvalpassed
The owners approval hook is separate from the flows own approval (no description in the source; shown from the name)test_a_flow_approval_does_not_replace_the_owners_approvalpassed
A flow approval does not replace the owners approval (no description in the source; shown from the name)test_the_rate_limit_is_per_tenant_across_runspassed
The rate limit is per tenant across runs (no description in the source; shown from the name)test_governed_events_carry_the_scope_and_no_flow_datapassed
Governed events carry the scope and no flow data (no description in the source; shown from the name)
test_runner.py — 27 tests 27 passed, 0 failed, 0 skipped
No file-level description in the source.
test_a_small_flow_runs_and_returns_its_outputpassed
A small flow runs and returns its output (no description in the source; shown from the name)test_an_approval_pauses_then_resumes_and_finishespassed
An approval pauses then resumes and finishes (no description in the source; shown from the name)test_a_rejection_ends_the_run_without_running_later_stepspassed
A rejection ends the run without running later steps (no description in the source; shown from the name)test_bad_decisions_are_refused_and_the_run_stays_pausedpassed
Bad decisions are refused and the run stays paused (no description in the source; shown from the name)test_a_second_resume_is_refusedpassed
A second resume is refused (no description in the source; shown from the name)test_concurrent_resumes_run_the_tool_oncepassed
Concurrent resumes run the tool once (no description in the source; shown from the name)test_a_tool_failure_stops_the_run_and_later_steps_do_not_runpassed
A tool failure stops the run and later steps do not run (no description in the source; shown from the name)test_a_tool_that_raises_gives_only_its_typepassed
A tool that raises gives only its type (no description in the source; shown from the name)test_an_invalid_dispatch_result_fails_the_steppassed
An invalid dispatch result fails the step (no description in the source; shown from the name)test_dispatch_gets_the_scope_the_tool_and_the_resolved_argumentspassed
Dispatch gets the scope the tool and the resolved arguments (no description in the source; shown from the name)test_a_missing_value_fails_closedpassed
A missing value fails closed (no description in the source; shown from the name)test_branch_comparisons_never_treat_other_types_as_numberspassed
Branch comparisons never treat other types as numbers (no description in the source; shown from the name)test_all_any_in_exists_and_truthypassed
All any in exists and truthy (no description in the source; shown from the name)test_a_missing_value_never_satisfies_nepassed
A missing value never satisfies ne (no description in the source; shown from the name)test_the_output_is_none_when_a_named_step_was_skippedpassed
The output is none when a named step was skipped (no description in the source; shown from the name)test_runner_configuration_is_checked_up_frontpassed
Runner configuration is checked up front (no description in the source; shown from the name)test_input_must_be_small_plain_jsonpassed
Input must be small plain json (no description in the source; shown from the name)test_the_deadline_stops_a_run_between_stepspassed
The deadline stops a run between steps (no description in the source; shown from the name)test_big_tool_output_and_unserialisable_output_fail_the_steppassed
Big tool output and unserialisable output fail the step (no description in the source; shown from the name)test_state_too_large_fails_and_drops_the_datapassed
State too large fails and drops the data (no description in the source; shown from the name)test_rate_limiter_is_checked_before_anything_elsepassed
Rate limiter is checked before anything else (no description in the source; shown from the name)test_the_first_matching_case_winspassed
The first matching case wins (no description in the source; shown from the name)test_condition_operators_tablepassed
Condition operators table (no description in the source; shown from the name)test_list_paths_are_strictpassed
List paths are strict (no description in the source; shown from the name)test_a_state_that_is_not_awaiting_is_refused_even_if_it_still_holds_a_pending_callpassed
A state that is not awaiting is refused even if it still holds a pending call (no description in the source; shown from the name)test_two_resumers_that_both_loaded_the_paused_state_run_the_tool_oncepassed
Two resumers that both loaded the paused state run the tool once (no description in the source; shown from the name)test_a_store_without_an_atomic_claim_still_refuses_a_state_that_is_not_awaitingpassed
A store without an atomic claim still refuses a state that is not awaiting (no description in the source; shown from the name)
test_tenant.py — 18 tests 18 passed, 0 failed, 0 skipped
Tenant isolation, the way a hostile tenant would try to break it. Positive controls keep every test honest.
test_a_run_needs_exactly_a_scopepassed
A run needs exactly a scope (no description in the source; shown from the name)test_another_tenant_cannot_resume_or_see_a_paused_runpassed
Another tenant cannot resume or see a paused run (no description in the source; shown from the name)test_every_part_of_the_scope_must_matchpassed
Every part of the scope must match (no description in the source; shown from the name)test_the_ownership_check_comes_before_the_decision_is_readpassed
The ownership check comes before the decision is read (no description in the source; shown from the name)test_a_damaged_stored_state_gives_the_same_errorpassed
A damaged stored state gives the same error (no description in the source; shown from the name)test_a_corrupt_sqlite_row_is_refused_not_runpassed
A corrupt sqlite row is refused not run (no description in the source; shown from the name)test_a_run_of_another_flow_version_is_refused_for_its_owner_onlypassed
A run of another flow version is refused for its owner only (no description in the source; shown from the name)test_run_ids_are_128_bit_random_tokenspassed
Run ids are 128 bit random tokens (no description in the source; shown from the name)test_saved_state_holds_the_scope_and_never_another_tenants_datapassed
Saved state holds the scope and never another tenants data (no description in the source; shown from the name)test_one_store_per_tenant_keeps_runs_apart_even_with_a_wrong_scopepassed
One store per tenant keeps runs apart even with a wrong scope (no description in the source; shown from the name)test_store_for_must_return_a_storepassed
Store for must return a store (no description in the source; shown from the name)test_hostile_inputs_cannot_reach_attributes_or_other_tenantspassed
Hostile inputs cannot reach attributes or other tenants (no description in the source; shown from the name)test_concurrent_runs_for_many_tenants_never_mixpassed
Concurrent runs for many tenants never mix (no description in the source; shown from the name)test_a_tainted_run_forces_approval_before_every_outbound_steppassed
A tainted run forces approval before every outbound step (no description in the source; shown from the name)test_an_external_step_taints_the_rest_of_the_runpassed
An external step taints the rest of the run (no description in the source; shown from the name)test_a_forced_rejection_stops_before_the_outbound_toolpassed
A forced rejection stops before the outbound tool (no description in the source; shown from the name)TestAudit::test_events_hold_ids_and_sizes_never_textpassed
Events hold ids and sizes never text (no description in the source; shown from the name)TestAudit::test_if_the_record_cannot_be_written_nothing_continuespassed
If the record cannot be written nothing continues (no description in the source; shown from the name)