Agent SYMBOLS_p36 - grisuno/LazyOwn GitHub Wiki
Symbols (page 36 of 41)
Previous: SYMBOLS_p35.md
| Symbol | Kind | File:Line | Signature |
|---|---|---|---|
__init__ |
method | tests/test_lazy_runner.py:1193 |
def __init__(self) |
__init__ |
method | tests/test_lazy_runner.py:1445 |
def __init__(self) |
__init__ |
method | tests/test_lazy_runner.py:1479 |
def __init__(self) |
__init__ |
method | tests/test_lazy_runner.py:1509 |
def __init__(self) |
_complete |
function | tests/test_lazy_runner.py:281 |
def _complete(self, prompt, max_tokens) |
_exec |
function | tests/test_lazy_runner.py:308 |
def _exec(command) |
_executor |
function | tests/test_lazy_runner.py:1244 |
def _executor(command) |
_exit |
function | tests/test_lazy_runner.py:868 |
def _exit() |
_fake_run |
function | tests/test_lazy_runner.py:1315 |
def _fake_run(command) |
_fake_shutdown |
function | tests/test_lazy_runner.py:1375 |
def _fake_shutdown(reason) |
_fake_streaming |
function | tests/test_lazy_runner.py:150 |
def _fake_streaming(command, on_output, timeout_sec) |
_interrupt |
function | tests/test_lazy_runner.py:833 |
def _interrupt() |
_observer |
function | tests/test_lazy_runner.py:250 |
def _observer(line) |
_prime_cold |
function | tests/test_lazy_runner.py:363 |
def _prime_cold(compactor, loop) |
_resolve |
function | tests/test_lazy_runner.py:1209 |
def _resolve(exclude) |
_round |
function | tests/test_lazy_runner.py:905 |
def _round(task_id_arg, workers, executor) |
_round |
function | tests/test_lazy_runner.py:938 |
def _round(task_id_arg, workers, executor) |
_seed_cold_facts |
function | tests/test_lazy_runner.py:353 |
def _seed_cold_facts(graph, loop, count) |
_wait |
function | tests/test_lazy_runner.py:97 |
def _wait() |
_worker |
function | tests/test_lazy_runner.py:793 |
def _worker() |
bind_shell |
method | tests/test_lazy_runner.py:218 |
def bind_shell(self, shell) |
bind_shell |
method | tests/test_lazy_runner.py:655 |
def bind_shell(self, shell) |
bind_shell |
method | tests/test_lazy_runner.py:706 |
def bind_shell(self, shell) |
bind_shell |
method | tests/test_lazy_runner.py:823 |
def bind_shell(self, shell) |
bind_shell |
method | tests/test_lazy_runner.py:862 |
def bind_shell(self, shell) |
create |
method | tests/test_lazy_runner.py:738 |
def create(self) |
create |
method | tests/test_lazy_runner.py:1189 |
def create(self) |
create |
method | tests/test_lazy_runner.py:1196 |
def create(self) |
flaky |
function | tests/test_lazy_runner.py:516 |
def flaky(model, prompt, max_tokens) |
onecmd_plus_hooks |
method | tests/test_lazy_runner.py:245 |
def onecmd_plus_hooks(self, command) |
onecmd_plus_hooks |
method | tests/test_lazy_runner.py:1155 |
def onecmd_plus_hooks(self, command) |
onecmd_plus_hooks |
method | tests/test_lazy_runner.py:1403 |
def onecmd_plus_hooks(self, command) |
onecmd_plus_hooks |
method | tests/test_lazy_runner.py:1448 |
def onecmd_plus_hooks(self, command) |
orchestrate |
method | tests/test_lazy_runner.py:224 |
def orchestrate(self) |
orchestrate |
method | tests/test_lazy_runner.py:661 |
def orchestrate(self) |
orchestrate |
method | tests/test_lazy_runner.py:712 |
def orchestrate(self) |
orchestrate |
method | tests/test_lazy_runner.py:829 |
def orchestrate(self) |
scripted |
function | tests/test_lazy_runner.py:497 |
def scripted(model, prompt, max_tokens) |
send_error |
method | tests/test_lazy_runner.py:585 |
def send_error(self, code, message) |
set_concurrency |
method | tests/test_lazy_runner.py:221 |
def set_concurrency(self, value) |
set_concurrency |
method | tests/test_lazy_runner.py:658 |
def set_concurrency(self, value) |
set_concurrency |
method | tests/test_lazy_runner.py:709 |
def set_concurrency(self, value) |
set_concurrency |
method | tests/test_lazy_runner.py:826 |
def set_concurrency(self, value) |
set_concurrency |
method | tests/test_lazy_runner.py:865 |
def set_concurrency(self, value) |
stop |
method | tests/test_lazy_runner.py:1355 |
def stop(self) |
store |
function | tests/test_lazy_runner.py:21 |
def store(tmp_path, monkeypatch) |
test_agent_background_jobs_and_output |
function | tests/test_lazy_runner.py:951 |
def test_agent_background_jobs_and_output(store) |
test_agent_persistent_shell_session |
function | tests/test_lazy_runner.py:999 |
def test_agent_persistent_shell_session(store) |
test_agent_prompt_includes_skills_block |
function | tests/test_lazy_runner.py:1121 |
def test_agent_prompt_includes_skills_block(store, monkeypatch) |
test_agentic_falls_back_to_next_member |
function | tests/test_lazy_runner.py:1180 |
def test_agentic_falls_back_to_next_member(store, monkeypatch) |
test_archive_restore_keeps_edges_anchors_scope |
function | tests/test_lazy_runner.py:110 |
def test_archive_restore_keeps_edges_anchors_scope(store) |
test_asset_insert_enforces_task_gate |
function | tests/test_lazy_runner.py:133 |
def test_asset_insert_enforces_task_gate(store) |
test_auto_populate_verb_carries_target |
function | tests/test_lazy_runner.py:1252 |
def test_auto_populate_verb_carries_target() |
test_auto_verb_overrides_payload_target_for_the_run |
function | tests/test_lazy_runner.py:1145 |
def test_auto_verb_overrides_payload_target_for_the_run() |
test_automsf_intent_needs_a_module_path |
function | tests/test_lazy_runner.py:196 |
def test_automsf_intent_needs_a_module_path() |
test_autonomous_mode_flag_and_input_restore |
function | tests/test_lazy_runner.py:181 |
def test_autonomous_mode_flag_and_input_restore(monkeypatch) |
test_bootstrap_passes_target_to_auto_populate |
function | tests/test_lazy_runner.py:1234 |
def test_bootstrap_passes_target_to_auto_populate(tmp_path, monkeypatch) |
test_broadcast_events_cursor_resume |
function | tests/test_lazy_runner.py:528 |
def test_broadcast_events_cursor_resume(store) |
test_cold_background_disabled_requests_nothing |
function | tests/test_lazy_runner.py:394 |
def test_cold_background_disabled_requests_nothing(store, monkeypatch) |
test_cold_background_worker_caches_compressed_body |
function | tests/test_lazy_runner.py:412 |
def test_cold_background_worker_caches_compressed_body(store, monkeypatch) |
test_cold_digest_applies_background_body |
function | tests/test_lazy_runner.py:372 |
def test_cold_digest_applies_background_body(store) |
test_config_clamps_operating_range |
function | tests/test_lazy_runner.py:50 |
def test_config_clamps_operating_range() |
test_cross_task_fleet_operations |
function | tests/test_lazy_runner.py:440 |
def test_cross_task_fleet_operations(store) |
test_custom_tool_trigger_matches_services |
function | tests/test_lazy_runner.py:79 |
def test_custom_tool_trigger_matches_services(store) |
test_dev_smoke_tools_run_green |
function | tests/test_lazy_runner.py:1600 |
def test_dev_smoke_tools_run_green() |
test_do_qa_runs_shutdown_and_dedupes_killall |
function | tests/test_lazy_runner.py:1367 |
def test_do_qa_runs_shutdown_and_dedupes_killall(monkeypatch) |
test_engine_heartbeat_replans_when_idle |
function | tests/test_lazy_runner.py:927 |
def test_engine_heartbeat_replans_when_idle(store) |
test_engine_wake_preempts_heartbeat |
function | tests/test_lazy_runner.py:892 |
def test_engine_wake_preempts_heartbeat(store) |
test_evidence_ranged_read_and_roles |
function | tests/test_lazy_runner.py:1068 |
def test_evidence_ranged_read_and_roles(store) |
test_finalize_parks_open_intents |
function | tests/test_lazy_runner.py:1100 |
def test_finalize_parks_open_intents(store) |
test_finding_report_drafted_by_reporter_agent |
function | tests/test_lazy_runner.py:334 |
def test_finding_report_drafted_by_reporter_agent(store, monkeypatch) |
test_format_activity_line |
function | tests/test_lazy_runner.py:685 |
def test_format_activity_line() |
test_guard_judge_survives_rule_changes |
function | tests/test_lazy_runner.py:67 |
def test_guard_judge_survives_rule_changes(store) |
test_intercept_wait_wakes_on_decide |
function | tests/test_lazy_runner.py:90 |
def test_intercept_wait_wakes_on_decide(store) |
test_judge_prompt_is_versioned_untrusted_json |
function | tests/test_lazy_runner.py:276 |
def test_judge_prompt_is_versioned_untrusted_json(store, monkeypatch) |
test_lazy_addon_positional_target_overrides_rhost |
function | tests/test_lazy_runner.py:1305 |
def test_lazy_addon_positional_target_overrides_rhost(monkeypatch) |
test_lazy_view_command_registered |
function | tests/test_lazy_runner.py:1610 |
def test_lazy_view_command_registered() |
test_lazynmap_overrides_payload_rhost_for_scope |
function | tests/test_lazy_runner.py:1437 |
def test_lazynmap_overrides_payload_rhost_for_scope(store) |
test_lazynmap_routing_and_steps |
function | tests/test_lazy_runner.py:1389 |
def test_lazynmap_routing_and_steps(store) |
test_llm_health_persists_across_registries |
function | tests/test_lazy_runner.py:474 |
def test_llm_health_persists_across_registries(tmp_path, monkeypatch) |
test_llm_pool_connect_retry_before_failover |
function | tests/test_lazy_runner.py:507 |
def test_llm_pool_connect_retry_before_failover(store, monkeypatch) |
test_llm_pool_rotates_equal_priority_heads |
function | tests/test_lazy_runner.py:488 |
def test_llm_pool_rotates_equal_priority_heads(store, monkeypatch) |
test_loop_broadcast_sse_route_declared |
function | tests/test_lazy_runner.py:547 |
def test_loop_broadcast_sse_route_declared() |
test_loop_commands_share_the_runner |
function | tests/test_lazy_runner.py:57 |
def test_loop_commands_share_the_runner() |
test_noa_archive_written_when_enabled |
function | tests/test_lazy_runner.py:556 |
def test_noa_archive_written_when_enabled(store, monkeypatch) |
test_parse_loop_line_flags |
function | tests/test_lazy_runner.py:30 |
def test_parse_loop_line_flags() |
test_parse_loop_line_rejects_bad_input |
function | tests/test_lazy_runner.py:42 |
def test_parse_loop_line_rejects_bad_input() |
test_plausibility_filter_drops_hallucinated_flags |
function | tests/test_lazy_runner.py:1566 |
def test_plausibility_filter_drops_hallucinated_flags(store, monkeypatch) |
test_progress_emit_never_feeds_stdout_redirect |
function | tests/test_lazy_runner.py:619 |
def test_progress_emit_never_feeds_stdout_redirect(capsys) |
test_proxy_handler_only_uses_safe_error_sender |
function | tests/test_lazy_runner.py:613 |
def test_proxy_handler_only_uses_safe_error_sender() |
test_proxy_safe_send_error_swallows_dead_client |
function | tests/test_lazy_runner.py:576 |
def test_proxy_safe_send_error_swallows_dead_client() |
test_proxy_server_silences_connection_noise |
function | tests/test_lazy_runner.py:593 |
def test_proxy_server_silences_connection_noise() |
test_pyautomate_filters_to_requested_target |
function | tests/test_lazy_runner.py:1289 |
def test_pyautomate_filters_to_requested_target(tmp_path, monkeypatch) |
test_reporter_runs_background_and_applies |
function | tests/test_lazy_runner.py:1037 |
def test_reporter_runs_background_and_applies(store, monkeypatch) |
test_round_fuses_intel_into_world_model |
function | tests/test_lazy_runner.py:1167 |
def test_round_fuses_intel_into_world_model(store, monkeypatch) |
test_run_loop_drives_the_engine_and_reports |
function | tests/test_lazy_runner.py:204 |
def test_run_loop_drives_the_engine_and_reports(store, monkeypatch) |
test_run_loop_treats_systemexit_as_cancel |
function | tests/test_lazy_runner.py:849 |
def test_run_loop_treats_systemexit_as_cancel(store, monkeypatch) |
test_run_tee_interactive_keeps_operator_terminal |
function | tests/test_lazy_runner.py:1462 |
def test_run_tee_interactive_keeps_operator_terminal(monkeypatch) |
test_run_tee_loop_context_detaches_child |
function | tests/test_lazy_runner.py:1496 |
def test_run_tee_loop_context_detaches_child(monkeypatch) |
test_run_tee_stdin_devnull_in_loop_context |
function | tests/test_lazy_runner.py:1530 |
def test_run_tee_stdin_devnull_in_loop_context() |
test_run_tee_thread_timeout_kills_child |
function | tests/test_lazy_runner.py:1545 |
def test_run_tee_thread_timeout_kills_child() |
test_run_with_progress_finishes_and_streams |
function | tests/test_lazy_runner.py:641 |
def test_run_with_progress_finishes_and_streams(store, capsys) |
test_run_with_progress_restores_stdout_on_cancel |
function | tests/test_lazy_runner.py:806 |
def test_run_with_progress_restores_stdout_on_cancel(store, monkeypatch, capsys) |
test_run_with_progress_streams_activity_events |
function | tests/test_lazy_runner.py:692 |
def test_run_with_progress_streams_activity_events(store, capsys) |
test_run_wrapup_records_fact_on_exhaustion |
function | tests/test_lazy_runner.py:319 |
def test_run_wrapup_records_fact_on_exhaustion(store, monkeypatch) |
test_shell_verb_observer_print_is_recursion_safe |
function | tests/test_lazy_runner.py:240 |
def test_shell_verb_observer_print_is_recursion_safe() |
test_shutdown_loop_runtime_cleans_everything |
function | tests/test_lazy_runner.py:1328 |
def test_shutdown_loop_runtime_cleans_everything(store, monkeypatch) |
test_steer_cleared_after_delivery |
function | tests/test_lazy_runner.py:770 |
def test_steer_cleared_after_delivery(store) |
test_steer_delivered_to_agent_as_operator_message |
function | tests/test_lazy_runner.py:726 |
def test_steer_delivered_to_agent_as_operator_message(store, monkeypatch) |
test_terminal_guard_is_safe_without_tty |
function | tests/test_lazy_runner.py:172 |
def test_terminal_guard_is_safe_without_tty() |
test_terminal_stream_bypasses_stdout_redirect |
function | tests/test_lazy_runner.py:259 |
def test_terminal_stream_bypasses_stdout_redirect(monkeypatch) |
test_thread_stdout_router_routes_by_thread |
function | tests/test_lazy_runner.py:781 |
def test_thread_stdout_router_routes_by_thread(capsys) |
test_wake_bus_signals_and_suppresses |
function | tests/test_lazy_runner.py:878 |
def test_wake_bus_signals_and_suppresses(store) |
test_worker_bash_fallback_uses_streaming_runner |
function | tests/test_lazy_runner.py:143 |
def test_worker_bash_fallback_uses_streaming_runner(store, monkeypatch) |
test_worker_llm_steps_filter_sudo |
function | tests/test_lazy_runner.py:1259 |
def test_worker_llm_steps_filter_sudo(store, monkeypatch) |
test_worker_resumes_skipping_executed_steps |
function | tests/test_lazy_runner.py:293 |
def test_worker_resumes_skipping_executed_steps(store) |
wait |
method | tests/test_lazy_runner.py:1485 |
def wait(self, timeout) |
wait |
method | tests/test_lazy_runner.py:1515 |
def wait(self, timeout) |
_Backend |
class | tests/test_lazy_streaming.py:24 |
class _Backend |
_Broken |
class | tests/test_lazy_streaming.py:37 |
class _Broken |
_Completions |
class | tests/test_lazy_streaming.py:106 |
class _Completions |
_Delta |
class | tests/test_lazy_streaming.py:100 |
class _Delta |
__init__ |
method | tests/test_lazy_streaming.py:101 |
def __init__(self, content, reasoning, tool_calls) |
__init__ |
method | tests/test_lazy_streaming.py:107 |
def __init__(self) |
_plain |
function | tests/test_lazy_streaming.py:84 |
def _plain() |
_sandbox |
function | tests/test_lazy_streaming.py:13 |
def _sandbox(tmp_path, monkeypatch) |
_stream |
function | tests/test_lazy_streaming.py:57 |
def _stream(model, prompt, max_tokens, on_delta) |
_stream |
function | tests/test_lazy_streaming.py:80 |
def _stream() |
create |
method | tests/test_lazy_streaming.py:110 |
def create(self) |
stream_generate |
method | tests/test_lazy_streaming.py:27 |
def stream_generate(self, prompt) |
stream_generate |
method | tests/test_lazy_streaming.py:40 |
def stream_generate(self, prompt) |
test_agent_streaming_reassembles_tool_calls_and_reports_deltas |
function | tests/test_lazy_streaming.py:96 |
def test_agent_streaming_reassembles_tool_calls_and_reports_deltas() |
test_pool_forwards_deltas_when_stage_on |
function | tests/test_lazy_streaming.py:48 |
def test_pool_forwards_deltas_when_stage_on(tmp_path, monkeypatch) |
test_pool_stays_unstreamed_when_stage_off |
function | tests/test_lazy_streaming.py:72 |
def test_pool_stays_unstreamed_when_stage_off(tmp_path, monkeypatch) |
test_stream_complete_collects_deltas_and_falls_back |
function | tests/test_lazy_streaming.py:20 |
def test_stream_complete_collects_deltas_and_falls_back(monkeypatch) |
_engine |
function | tests/test_lazy_worker_safety.py:28 |
def _engine(tmp_path, monkeypatch) |
_fake_execute |
function | tests/test_lazy_worker_safety.py:122 |
def _fake_execute(self, node, executor, timeout_sec) |
_worker |
function | tests/test_lazy_worker_safety.py:37 |
def _worker(loop, engine, task_id, name) |
executor |
function | tests/test_lazy_worker_safety.py:95 |
def executor(command) |
payload_store |
function | tests/test_lazy_worker_safety.py:15 |
def payload_store(tmp_path, monkeypatch) |
test_needs_sudo_detects_wrappers_and_segments |
function | tests/test_lazy_worker_safety.py:140 |
def test_needs_sudo_detects_wrappers_and_segments(tmp_path, monkeypatch) |
test_run_round_reuses_worker_pool |
function | tests/test_lazy_worker_safety.py:105 |
def test_run_round_reuses_worker_pool(payload_store, monkeypatch) |
test_sanitizer_retargets_and_repairs_commands |
function | tests/test_lazy_worker_safety.py:53 |
def test_sanitizer_retargets_and_repairs_commands(tmp_path, monkeypatch) |
test_worker_dedupes_commands_already_executed_for_task |
function | tests/test_lazy_worker_safety.py:70 |
def test_worker_dedupes_commands_already_executed_for_task(tmp_path, monkeypatch) |
test_worker_runs_sudo_alias_when_passwordless_available |
function | tests/test_lazy_worker_safety.py:175 |
def test_worker_runs_sudo_alias_when_passwordless_available(tmp_path, monkeypatch) |
test_worker_skips_sudo_alias_before_execution |
function | tests/test_lazy_worker_safety.py:153 |
def test_worker_skips_sudo_alias_before_execution(tmp_path, monkeypatch) |
test_worker_skips_sudo_when_unavailable |
function | tests/test_lazy_worker_safety.py:88 |
def test_worker_skips_sudo_when_unavailable(tmp_path, monkeypatch) |
ConcreteBackend |
class | tests/test_lazygui_backend.py:151 |
class ConcreteBackend(Backend) |
TestBackendDescriptor |
class | tests/test_lazygui_backend.py:26 |
class TestBackendDescriptor |
TestBackendSignals |
class | tests/test_lazygui_backend.py:77 |
class TestBackendSignals |
TestBackendStatus |
class | tests/test_lazygui_backend.py:41 |
class TestBackendStatus |
TestTeamserverBackendConstruction |
class | tests/test_lazygui_backend.py:173 |
class TestTeamserverBackendConstruction |
TestTeamserverBackendLifecycle |
class | tests/test_lazygui_backend.py:302 |
class TestTeamserverBackendLifecycle |
TestTeamserverCredentials |
class | tests/test_lazygui_backend.py:52 |
class TestTeamserverCredentials |
TestTeamserverPayloadParsing |
class | tests/test_lazygui_backend.py:206 |
class TestTeamserverPayloadParsing |
TestTopologyBuilderFromPayload |
class | tests/test_lazygui_backend.py:344 |
class TestTopologyBuilderFromPayload |
TestTopologyDataContract |
class | tests/test_lazygui_backend.py:328 |
class TestTopologyDataContract |
_make_backend |
method | tests/test_lazygui_backend.py:146 |
def _make_backend() |
feed_terminal_input |
method | tests/test_lazygui_backend.py:169 |
def feed_terminal_input(self, data) |
make_backend |
method | tests/test_lazygui_backend.py:347 |
def make_backend(self) |
refresh |
method | tests/test_lazygui_backend.py:163 |
def refresh(self) |
resize_terminal |
method | tests/test_lazygui_backend.py:166 |
def resize_terminal(self, columns, rows) |
send_command |
method | tests/test_lazygui_backend.py:160 |
def send_command(self, command, target_session) |
start |
method | tests/test_lazygui_backend.py:154 |
def start(self) |
stop |
method | tests/test_lazygui_backend.py:157 |
def stop(self) |
test_build_url |
method | tests/test_lazygui_backend.py:191 |
def test_build_url(self) |
test_build_url_no_trailing_slash |
method | tests/test_lazygui_backend.py:198 |
def test_build_url_no_trailing_slash(self) |
test_builds_beacon_nodes |
method | tests/test_lazygui_backend.py:362 |
def test_builds_beacon_nodes(self) |
test_builds_c2_node |
method | tests/test_lazygui_backend.py:354 |
def test_builds_c2_node(self) |
test_builds_connected_hosts |
method | tests/test_lazygui_backend.py:428 |
def test_builds_connected_hosts(self) |
test_builds_edges_c2_to_beacon |
method | tests/test_lazygui_backend.py:379 |
def test_builds_edges_c2_to_beacon(self) |
test_builds_host_nodes_from_discovered |
method | tests/test_lazygui_backend.py:396 |
def test_builds_host_nodes_from_discovered(self) |
test_builds_port_nodes |
method | tests/test_lazygui_backend.py:412 |
def test_builds_port_nodes(self) |
test_construct_and_compare |
method | tests/test_lazygui_backend.py:331 |
def test_construct_and_compare(self) |
test_construction |
method | tests/test_lazygui_backend.py:29 |
def test_construction(self) |
test_construction |
method | tests/test_lazygui_backend.py:55 |
def test_construction(self) |
test_construction |
method | tests/test_lazygui_backend.py:176 |
def test_construction(self) |
test_construction_with_parent |
method | tests/test_lazygui_backend.py:184 |
def test_construction_with_parent(self) |
test_default_tls |
method | tests/test_lazygui_backend.py:67 |
def test_default_tls(self) |
test_descriptor_read_only |
method | tests/test_lazygui_backend.py:113 |
def test_descriptor_read_only(self) |
test_immutable |
method | tests/test_lazygui_backend.py:35 |
def test_immutable(self) |
test_immutable |
method | tests/test_lazygui_backend.py:71 |
def test_immutable(self) |
test_initial_status_is_disconnected |
method | tests/test_lazygui_backend.py:93 |
def test_initial_status_is_disconnected(self) |
test_known_campaigns_default |
method | tests/test_lazygui_backend.py:129 |
def test_known_campaigns_default(self) |
test_known_sessions_defaults |
method | tests/test_lazygui_backend.py:118 |
def test_known_sessions_defaults(self) |
test_known_topology_default |
method | tests/test_lazygui_backend.py:123 |
def test_known_topology_default(self) |
test_non_mapping_payload |
method | tests/test_lazygui_backend.py:216 |
def test_non_mapping_payload(self) |
test_none_converted |
method | tests/test_lazygui_backend.py:338 |
def test_none_converted(self) |
test_parse_empty_graph_payload |
method | tests/test_lazygui_backend.py:259 |
def test_parse_empty_graph_payload(self) |
test_parse_graph_edges_from_valid_payload |
method | tests/test_lazygui_backend.py:242 |
def test_parse_graph_edges_from_valid_payload(self) |
test_parse_graph_nodes_from_valid_payload |
method | tests/test_lazygui_backend.py:223 |
def test_parse_graph_nodes_from_valid_payload(self) |
test_send_command_does_not_raise |
method | tests/test_lazygui_backend.py:321 |
def test_send_command_does_not_raise(self) |
test_session_state_default |
method | tests/test_lazygui_backend.py:138 |
def test_session_state_default(self) |
test_signals_exist |
method | tests/test_lazygui_backend.py:80 |
def test_signals_exist(self) |
test_status_no_duplicate_emit |
method | tests/test_lazygui_backend.py:104 |
def test_status_no_duplicate_emit(self) |
test_status_transition |
method | tests/test_lazygui_backend.py:97 |
def test_status_transition(self) |
test_stop_sets_disconnected |
method | tests/test_lazygui_backend.py:312 |
def test_stop_sets_disconnected(self) |
test_stop_without_start |
method | tests/test_lazygui_backend.py:305 |
def test_stop_without_start(self) |
test_topology_emitted_on_change |
method | tests/test_lazygui_backend.py:439 |
def test_topology_emitted_on_change(self) |
test_topology_not_emitted_on_no_change |
method | tests/test_lazygui_backend.py:455 |
def test_topology_not_emitted_on_no_change(self) |
test_update_from_empty_payload |
method | tests/test_lazygui_backend.py:209 |
def test_update_from_empty_payload(self) |
test_update_operator |
method | tests/test_lazygui_backend.py:267 |
def test_update_operator(self) |
test_update_operator_no_username |
method | tests/test_lazygui_backend.py:285 |
def test_update_operator_no_username(self) |
test_update_sessions_empty |
method | tests/test_lazygui_backend.py:294 |
def test_update_sessions_empty(self) |
test_values |
method | tests/test_lazygui_backend.py:44 |
def test_values(self) |
test_world_model_default |
method | tests/test_lazygui_backend.py:133 |
def test_world_model_default(self) |
TestColorMap |
class | tests/test_lazygui_graph_widget.py:106 |
class TestColorMap |
TestColorResolution |
class | tests/test_lazygui_graph_widget.py:43 |
class TestColorResolution |
TestGraphEdgeItem |
class | tests/test_lazygui_graph_widget.py:181 |
class TestGraphEdgeItem |
TestGraphNodeItem |
class | tests/test_lazygui_graph_widget.py:114 |
class TestGraphNodeItem |
TestGraphNodeItemWithIcon |
class | tests/test_lazygui_graph_widget.py:360 |
class TestGraphNodeItemWithIcon |
TestGraphScene |
class | tests/test_lazygui_graph_widget.py:212 |
class TestGraphScene |
TestGraphView |
class | tests/test_lazygui_graph_widget.py:307 |
class TestGraphView |
TestGraphViewWithDatabaseFixture |
class | tests/test_lazygui_graph_widget.py:333 |
class TestGraphViewWithDatabaseFixture |
TestRadiusResolution |
class | tests/test_lazygui_graph_widget.py:79 |
class TestRadiusResolution |
_capture |
function | tests/test_lazygui_graph_widget.py:296 |
def _capture(nid, pos) |
_cb |
function | tests/test_lazygui_graph_widget.py:149 |
def _cb(nid) |
_cb |
function | tests/test_lazygui_graph_widget.py:163 |
def _cb(nid, pos) |
_get_qapp |
function | tests/test_lazygui_graph_widget.py:36 |
def _get_qapp() |
test_all_keys_present |
method | tests/test_lazygui_graph_widget.py:109 |
def test_all_keys_present(self) |
test_beacon_color |
method | tests/test_lazygui_graph_widget.py:50 |
def test_beacon_color(self) |
test_beacon_radius |
method | tests/test_lazygui_graph_widget.py:86 |
def test_beacon_radius(self) |
test_c2_color |
method | tests/test_lazygui_graph_widget.py:46 |
def test_c2_color(self) |
test_c2_radius |
method | tests/test_lazygui_graph_widget.py:82 |
def test_c2_radius(self) |
test_callback_on_context_menu |
method | tests/test_lazygui_graph_widget.py:157 |
def test_callback_on_context_menu(self) |
test_callback_on_selected |
method | tests/test_lazygui_graph_widget.py:144 |
def test_callback_on_selected(self) |
test_construction |
method | tests/test_lazygui_graph_widget.py:117 |
def test_construction(self) |
test_construction |
method | tests/test_lazygui_graph_widget.py:215 |
def test_construction(self) |
test_construction |
method | tests/test_lazygui_graph_widget.py:310 |
def test_construction(self) |
test_construction_with_nodes |
method | tests/test_lazygui_graph_widget.py:184 |
def test_construction_with_nodes(self) |
test_default_radius |
method | tests/test_lazygui_graph_widget.py:101 |
def test_default_radius(self) |
test_fit_to_content |
method | tests/test_lazygui_graph_widget.py:325 |
def test_fit_to_content(self) |
test_force_layout_single_node |
method | tests/test_lazygui_graph_widget.py:243 |
def test_force_layout_single_node(self) |
test_full_pipeline |
method | tests/test_lazygui_graph_widget.py:336 |
def test_full_pipeline(self) |
test_host_color |
method | tests/test_lazygui_graph_widget.py:54 |
def test_host_color(self) |
test_host_radius |
method | tests/test_lazygui_graph_widget.py:91 |
def test_host_radius(self) |
test_hover_behavior |
method | tests/test_lazygui_graph_widget.py:369 |
def test_hover_behavior(self) |
test_identifiers |
method | tests/test_lazygui_graph_widget.py:127 |
def test_identifiers(self) |
test_linux_os_hint |
method | tests/test_lazygui_graph_widget.py:66 |
def test_linux_os_hint(self) |
test_macos_os_hint |
method | tests/test_lazygui_graph_widget.py:70 |
def test_macos_os_hint(self) |
test_movable_flag |
method | tests/test_lazygui_graph_widget.py:375 |
def test_movable_flag(self) |
test_node_context_menu_signal |
method | tests/test_lazygui_graph_widget.py:289 |
def test_node_context_menu_signal(self) |
test_node_selected_signal |
method | tests/test_lazygui_graph_widget.py:280 |
def test_node_selected_signal(self) |
test_node_with_icon |
method | tests/test_lazygui_graph_widget.py:363 |
def test_node_with_icon(self) |
test_node_without_callbacks_does_not_raise |
method | tests/test_lazygui_graph_widget.py:173 |
def test_node_without_callbacks_does_not_raise(self) |
test_physics_completion |
method | tests/test_lazygui_graph_widget.py:258 |
def test_physics_completion(self) |
test_physics_stops_without_nodes |
method | tests/test_lazygui_graph_widget.py:273 |
def test_physics_stops_without_nodes(self) |
test_port_color |
method | tests/test_lazygui_graph_widget.py:58 |
def test_port_color(self) |
test_port_radius |
method | tests/test_lazygui_graph_widget.py:96 |
def test_port_radius(self) |
test_selected_node_id_none_when_empty |
method | tests/test_lazygui_graph_widget.py:252 |
def test_selected_node_id_none_when_empty(self) |
test_selection_behaviour |
method | tests/test_lazygui_graph_widget.py:134 |
def test_selection_behaviour(self) |
test_set_empty_topology |
method | tests/test_lazygui_graph_widget.py:235 |
def test_set_empty_topology(self) |
test_set_topology |
method | tests/test_lazygui_graph_widget.py:316 |
def test_set_topology(self) |
test_set_topology_with_data |
method | tests/test_lazygui_graph_widget.py:221 |
def test_set_topology_with_data(self) |
test_unknown_default |
method | tests/test_lazygui_graph_widget.py:74 |
def test_unknown_default(self) |
test_update_position |
method | tests/test_lazygui_graph_widget.py:198 |
def test_update_position(self) |
test_windows_os_hint |
method | tests/test_lazygui_graph_widget.py:62 |
def test_windows_os_hint(self) |
TestBackendKind |
class | tests/test_lazygui_models.py:303 |
class TestBackendKind |
TestBeaconResult |
class | tests/test_lazygui_models.py:143 |
class TestBeaconResult |
TestCampaignSummary |
class | tests/test_lazygui_models.py:221 |
class TestCampaignSummary |
TestDashboardPayload |
class | tests/test_lazygui_models.py:196 |
class TestDashboardPayload |
TestEventLevel |
class | tests/test_lazygui_models.py:314 |
class TestEventLevel |
TestEventRecord |
class | tests/test_lazygui_models.py:256 |
class TestEventRecord |
TestGraphEdge |
class | tests/test_lazygui_models.py:74 |
class TestGraphEdge |
TestGraphNode |
class | tests/test_lazygui_models.py:30 |
class TestGraphNode |
TestSessionModel |
class | tests/test_lazygui_models.py:280 |
class TestSessionModel |
TestTopology |
class | tests/test_lazygui_models.py:105 |
class TestTopology |
test_compare |
method | tests/test_lazygui_models.py:322 |
def test_compare(self) |
test_construction |
method | tests/test_lazygui_models.py:77 |
def test_construction(self) |
test_construction |
method | tests/test_lazygui_models.py:283 |
def test_construction(self) |
test_default_metadata |
method | tests/test_lazygui_models.py:56 |
def test_default_metadata(self) |
test_defaults |
method | tests/test_lazygui_models.py:91 |
def test_defaults(self) |
test_defaults |
method | tests/test_lazygui_models.py:199 |
def test_defaults(self) |
test_defaults |
method | tests/test_lazygui_models.py:224 |
def test_defaults(self) |
test_empty_classmethod |
method | tests/test_lazygui_models.py:115 |
def test_empty_classmethod(self) |
test_empty_fields_default_to_empty_string |
method | tests/test_lazygui_models.py:181 |
def test_empty_fields_default_to_empty_string(self) |
test_empty_list_keywords |
method | tests/test_lazygui_models.py:137 |
def test_empty_list_keywords(self) |
test_empty_topology |
method | tests/test_lazygui_models.py:108 |
def test_empty_topology(self) |
test_equality |
method | tests/test_lazygui_models.py:61 |
def test_equality(self) |
test_equality |
method | tests/test_lazygui_models.py:97 |
def test_equality(self) |
test_equality |
method | tests/test_lazygui_models.py:130 |
def test_equality(self) |
test_equality |
method | tests/test_lazygui_models.py:174 |
def test_equality(self) |
test_equality |
method | tests/test_lazygui_models.py:213 |
def test_equality(self) |
test_equality |
method | tests/test_lazygui_models.py:248 |
def test_equality(self) |
test_fields |
method | tests/test_lazygui_models.py:263 |
def test_fields(self) |
test_full_construction |
method | tests/test_lazygui_models.py:41 |
def test_full_construction(self) |
test_full_construction |
method | tests/test_lazygui_models.py:154 |
def test_full_construction(self) |
test_immutable |
method | tests/test_lazygui_models.py:68 |
def test_immutable(self) |
test_metadata_default |
method | tests/test_lazygui_models.py:298 |
def test_metadata_default(self) |
test_minimal_construction |
method | tests/test_lazygui_models.py:33 |
def test_minimal_construction(self) |
test_minimal_construction |
method | tests/test_lazygui_models.py:146 |
def test_minimal_construction(self) |
test_now_uses_utc |
method | tests/test_lazygui_models.py:259 |
def test_now_uses_utc(self) |
test_numeric_levels |
method | tests/test_lazygui_models.py:271 |
def test_numeric_levels(self) |
test_order |
method | tests/test_lazygui_models.py:317 |
def test_order(self) |
test_populated |
method | tests/test_lazygui_models.py:206 |
def test_populated(self) |
test_populated_topology |
method | tests/test_lazygui_models.py:120 |
def test_populated_topology(self) |
test_str_compat |
method | tests/test_lazygui_models.py:310 |
def test_str_compat(self) |
test_values |
method | tests/test_lazygui_models.py:306 |
def test_values(self) |
test_with_counts |
method | tests/test_lazygui_models.py:234 |
def test_with_counts(self) |
PostScanOutputSpec |
class | tests/test_lazynmap_post.py:88 |
class PostScanOutputSpec(TestCase) |
PostScanResilienceSpec |
class | tests/test_lazynmap_post.py:228 |
class PostScanResilienceSpec(TestCase) |
PostScanToggleSpec |
class | tests/test_lazynmap_post.py:186 |
class PostScanToggleSpec(TestCase) |
_ConsoleRecorder |
class | tests/test_lazynmap_post.py:81 |
class _ConsoleRecorder |
_broken_factory |
function | tests/test_lazynmap_post.py:235 |
def _broken_factory() |
_make_engine |
function | tests/test_lazynmap_post.py:71 |
def _make_engine(sessions, addons, tools) |
_seed_addon |
function | tests/test_lazynmap_post.py:37 |
def _seed_addon(addons) |
_seed_environment |
function | tests/test_lazynmap_post.py:59 |
def _seed_environment(tmp) |
print |
method | tests/test_lazynmap_post.py:84 |
def print(self, line) |
test_console_receives_plan_preview_lines |
method | tests/test_lazynmap_post.py:166 |
def test_console_receives_plan_preview_lines(self) |
test_disabled_payload_skips_all_writes |
method | tests/test_lazynmap_post.py:189 |
def test_disabled_payload_skips_all_writes(self) |
test_engine_failure_still_emits_event_and_updates_world_model |
method | tests/test_lazynmap_post.py:231 |
def test_engine_failure_still_emits_event_and_updates_world_model(self) |
test_event_record_carries_target_and_counts |
method | tests/test_lazynmap_post.py:142 |
def test_event_record_carries_target_and_counts(self) |
test_string_falsy_toggle_is_respected |
method | tests/test_lazynmap_post.py:210 |
def test_string_falsy_toggle_is_respected(self) |
test_world_model_is_merged_not_overwritten |
method | tests/test_lazynmap_post.py:117 |
def test_world_model_is_merged_not_overwritten(self) |
test_writes_plan_world_model_and_event |
method | tests/test_lazynmap_post.py:91 |
def test_writes_plan_world_model_and_event(self) |
_fake_bin |
function | tests/test_lazynmap_sudo_branches.py:18 |
def _fake_bin(tmp_path) |
_run_script |
function | tests/test_lazynmap_sudo_branches.py:31 |
def _run_script(tmp_path, extra_env) |
test_autonomous_mode_aborts_without_passwordless_sudo |
function | tests/test_lazynmap_sudo_branches.py:48 |
def test_autonomous_mode_aborts_without_passwordless_sudo(tmp_path) |
test_interactive_mode_keeps_the_sudo_prompt_path |
function | tests/test_lazynmap_sudo_branches.py:55 |
def test_interactive_mode_keeps_the_sudo_prompt_path(tmp_path) |
TestLegacyShims |
class | tests/test_legacy_shims.py:23 |
class TestLegacyShims |
TestReferencedScriptsExist |
class | tests/test_legacy_shims.py:43 |
class TestReferencedScriptsExist |
test_exploit_migrated_script_paths |
method | tests/test_legacy_shims.py:44 |
def test_exploit_migrated_script_paths(self) |
test_no_regular_file_clones |
method | tests/test_legacy_shims.py:24 |
def test_no_regular_file_clones(self) |
test_symlinks_resolve_into_contrib |
method | tests/test_legacy_shims.py:32 |
def test_symlinks_resolve_into_contrib(self) |
TestLessonIngestor |
class | tests/test_lesson_ingestor.py:35 |
class TestLessonIngestor |
TestLessonLearned |
class | tests/test_lesson_ingestor.py:15 |
class TestLessonLearned |
test_expert_mapping |
method | tests/test_lesson_ingestor.py:36 |
def test_expert_mapping(self) |
test_from_dict |
method | tests/test_lesson_ingestor.py:16 |
def test_from_dict(self) |
test_from_dict_minimal |
method | tests/test_lesson_ingestor.py:29 |
def test_from_dict_minimal(self) |
test_ingest_all |
method | tests/test_lesson_ingestor.py:124 |
def test_ingest_all(self, tmp_path) |
test_ingest_no_backends |
method | tests/test_lesson_ingestor.py:79 |
def test_ingest_no_backends(self, monkeypatch) |
test_ingest_unmapped_topic |
method | tests/test_lesson_ingestor.py:62 |
def test_ingest_unmapped_topic(self, tmp_path) |
test_ingest_with_mock_backends |
method | tests/test_lesson_ingestor.py:43 |
def test_ingest_with_mock_backends(self, tmp_path) |
test_load_from_file |
method | tests/test_lesson_ingestor.py:99 |
def test_load_from_file(self, tmp_path) |
test_load_from_file_missing |
method | tests/test_lesson_ingestor.py:119 |
def test_load_from_file_missing(self, tmp_path) |
_run_ruff |
function | tests/test_lint_quality.py:63 |
def _run_ruff(args) |
test_format_targets_exist |
function | tests/test_lint_quality.py:100 |
def test_format_targets_exist() |
test_lint_targets_exist |
function | tests/test_lint_quality.py:94 |
def test_lint_targets_exist() |
test_ruff_check_clean |
function | tests/test_lint_quality.py:75 |
def test_ruff_check_clean(target) |
test_ruff_format_clean |
function | tests/test_lint_quality.py:84 |
def test_ruff_format_clean(target) |
_world |
function | tests/test_live_surface.py:25 |
def _world() |
test_compromised_states_constant_matches_world_model |
function | tests/test_live_surface.py:116 |
def test_compromised_states_constant_matches_world_model() |
test_empty_world_is_well_formed |
function | tests/test_live_surface.py:55 |
def test_empty_world_is_well_formed() |
test_host_with_credential_pulses_even_if_not_owned |
function | tests/test_live_surface.py:87 |
def test_host_with_credential_pulses_even_if_not_owned() |
test_hosts_and_services_become_nodes |
function | tests/test_live_surface.py:68 |
def test_hosts_and_services_become_nodes() |
test_malformed_host_entry_is_skipped |
function | tests/test_live_surface.py:109 |
def test_malformed_host_entry_is_skipped() |
test_none_world_is_tolerated |
function | tests/test_live_surface.py:63 |
def test_none_world_is_tolerated() |
test_owned_host_pulses_and_counts_as_compromised |
function | tests/test_live_surface.py:79 |
def test_owned_host_pulses_and_counts_as_compromised() |
test_runs_service_edge_is_emitted_once |
function | tests/test_live_surface.py:95 |
def test_runs_service_edge_is_emitted_once() |
test_stats_block_counts |
function | tests/test_live_surface.py:102 |
def test_stats_block_counts() |
TestAskGeneral |
class | tests/test_llm_adapter_parity.py:205 |
class TestAskGeneral |
TestDirectPromptFlow |
class | tests/test_llm_adapter_parity.py:94 |
class TestDirectPromptFlow |
TestExports |
class | tests/test_llm_adapter_parity.py:171 |
class TestExports |
TestFileReadingVariants |
class | tests/test_llm_adapter_parity.py:129 |
class TestFileReadingVariants |
TestKnowledgePersistence |
class | tests/test_llm_adapter_parity.py:113 |
class TestKnowledgePersistence |
TestMissingClient |
class | tests/test_llm_adapter_parity.py:65 |
class TestMissingClient |
TestUninitializedClient |
class | tests/test_llm_adapter_parity.py:88 |
class TestUninitializedClient |
TestVulnAugmentation |
class | tests/test_llm_adapter_parity.py:147 |
class TestVulnAugmentation |
_FakeBackend |
class | tests/test_llm_adapter_parity.py:191 |
class _FakeBackend |
_FakeClient |
class | tests/test_llm_adapter_parity.py:37 |
class _FakeClient |
_FakeCompletions |
class | tests/test_llm_adapter_parity.py:23 |
class _FakeCompletions |
__init__ |
method | tests/test_llm_adapter_parity.py:24 |
def __init__(self, content) |
__init__ |
method | tests/test_llm_adapter_parity.py:38 |
def __init__(self, content) |
__init__ |
method | tests/test_llm_adapter_parity.py:192 |
def __init__(self, result) |
_write |
function | tests/test_llm_adapter_parity.py:60 |
def _write(path, text) |
cfg |
function | tests/test_llm_adapter_parity.py:44 |
def cfg(tmp_path) |
complete |
method | tests/test_llm_adapter_parity.py:197 |
def complete(self, system, user) |
create |
method | tests/test_llm_adapter_parity.py:30 |
def create(self, model, messages, max_tokens) |
patched |
function | tests/test_llm_adapter_parity.py:55 |
def patched(monkeypatch, cfg) |
test_appends_event_tool_output |
method | tests/test_llm_adapter_parity.py:148 |
def test_appends_event_tool_output(self, patched, cfg, tmp_path) |
test_appends_plan_history |
method | tests/test_llm_adapter_parity.py:161 |
def test_appends_plan_history(self, patched, cfg, tmp_path) |
test_backend_error_string_not_remembered |
method | tests/test_llm_adapter_parity.py:237 |
def test_backend_error_string_not_remembered(self, patched, cfg, monkeypatch) |
test_backend_exception_reports_error |
method | tests/test_llm_adapter_parity.py:230 |
def test_backend_exception_reports_error(self, patched, monkeypatch) |
test_complete_error_handled |
method | tests/test_llm_adapter_parity.py:89 |
def test_complete_error_handled(self, patched) |
test_completion_received_single_user_message |
method | tests/test_llm_adapter_parity.py:100 |
def test_completion_received_single_user_message(self, patched) |
test_default_max_tokens_applied |
method | tests/test_llm_adapter_parity.py:107 |
def test_default_max_tokens_applied(self, patched) |
test_direct_variants_report_missing_key |
method | tests/test_llm_adapter_parity.py:76 |
def test_direct_variants_report_missing_key(self, patched, name) |
test_error_response_not_remembered |
method | tests/test_llm_adapter_parity.py:122 |
def test_error_response_not_remembered(self, patched, cfg) |
test_exported |
method | tests/test_llm_adapter_parity.py:257 |
def test_exported(self) |
test_file_variants_report_missing_key |
method | tests/test_llm_adapter_parity.py:81 |
def test_file_variants_report_missing_key(self, patched, name, tmp_path) |
test_groq_family_exports_present |
method | tests/test_llm_adapter_parity.py:172 |
def test_groq_family_exports_present(self) |
test_missing_backend_reports_error |
method | tests/test_llm_adapter_parity.py:223 |
def test_missing_backend_reports_error(self, patched, monkeypatch) |
test_receives_system_and_rendered_user |
method | tests/test_llm_adapter_parity.py:213 |
def test_receives_system_and_rendered_user(self, patched, monkeypatch) |
test_redop_reads_file_content |
method | tests/test_llm_adapter_parity.py:141 |
def test_redop_reads_file_content(self, patched, tmp_path) |
test_safe_groq_client_none_without_key |
method | tests/test_llm_adapter_parity.py:186 |
def test_safe_groq_client_none_without_key(self) |
test_sends_user_message_and_returns_content |
method | tests/test_llm_adapter_parity.py:95 |
def test_sends_user_message_and_returns_content(self, patched) |
test_successful_answer_remembered |
method | tests/test_llm_adapter_parity.py:246 |
def test_successful_answer_remembered(self, patched, cfg, monkeypatch) |
test_successful_response_is_remembered |
method | tests/test_llm_adapter_parity.py:114 |
def test_successful_response_is_remembered(self, patched, cfg) |
test_task_missing_file_returns_error |
method | tests/test_llm_adapter_parity.py:137 |
def test_task_missing_file_returns_error(self, patched, tmp_path) |
test_task_reads_file_content |
method | tests/test_llm_adapter_parity.py:130 |
def test_task_reads_file_content(self, patched, tmp_path) |
test_uses_configured_backend |
method | tests/test_llm_adapter_parity.py:206 |
def test_uses_configured_backend(self, patched, monkeypatch) |
_StubBackend |
class | tests/test_llm_budget.py:316 |
class _StubBackend |
_StubBackend |
class | tests/test_llm_budget.py:356 |
class _StubBackend |
complete |
method | tests/test_llm_budget.py:323 |
def complete(self, system, user, max_tokens, temperature) |
complete |
method | tests/test_llm_budget.py:363 |
def complete(self, system, user, max_tokens, temperature) |
generate |
method | tests/test_llm_budget.py:317 |
def generate(self, prompt) |
generate |
method | tests/test_llm_budget.py:357 |
def generate(self, prompt) |
stream_generate |
method | tests/test_llm_budget.py:320 |
def stream_generate(self, prompt) |
stream_generate |
method | tests/test_llm_budget.py:360 |
def stream_generate(self, prompt) |
test_budget_config_dataclass_carries_expected_fields |
function | tests/test_llm_budget.py:51 |
def test_budget_config_dataclass_carries_expected_fields() |
test_budget_guard_charges_a_successful_call |
function | tests/test_llm_budget.py:218 |
def test_budget_guard_charges_a_successful_call(tmp_sessions) |
test_budget_guard_disabled_passes_through |
function | tests/test_llm_budget.py:242 |
def test_budget_guard_disabled_passes_through(tmp_sessions) |
test_budget_guard_refuses_call_when_daily_budget_exhausted |
function | tests/test_llm_budget.py:162 |
def test_budget_guard_refuses_call_when_daily_budget_exhausted(tmp_sessions) |
test_budget_guard_refuses_call_when_token_cap_exceeded |
function | tests/test_llm_budget.py:195 |
def test_budget_guard_refuses_call_when_token_cap_exceeded(tmp_sessions) |
test_budget_ledger_persists_to_disk |
function | tests/test_llm_budget.py:116 |
def test_budget_ledger_persists_to_disk(tmp_sessions) |
test_budget_ledger_records_a_charge |
function | tests/test_llm_budget.py:99 |
def test_budget_ledger_records_a_charge(tmp_path) |
test_budget_ledger_rolls_over_at_midnight |
function | tests/test_llm_budget.py:136 |
def test_budget_ledger_rolls_over_at_midnight(tmp_sessions) |
test_budget_module_is_importable |
function | tests/test_llm_budget.py:35 |
def test_budget_module_is_importable() |
test_format_budget_status_includes_spent_and_remaining |
function | tests/test_llm_budget.py:265 |
def test_format_budget_status_includes_spent_and_remaining(tmp_sessions) |
test_load_budget_config_reads_payload |
function | tests/test_llm_budget.py:395 |
def test_load_budget_config_reads_payload(tmp_sessions) |
test_payload_schema_recognises_budget_keys |
function | tests/test_llm_budget.py:384 |
def test_payload_schema_recognises_budget_keys() |
test_read_budget_status_returns_dict |
function | tests/test_llm_budget.py:287 |
def test_read_budget_status_returns_dict(tmp_sessions) |
test_token_estimator_counts_text_tokens |
function | tests/test_llm_budget.py:71 |
def test_token_estimator_counts_text_tokens() |
test_token_estimator_handles_empty_string |
function | tests/test_llm_budget.py:81 |
def test_token_estimator_handles_empty_string() |
test_token_estimator_is_deterministic |
function | tests/test_llm_budget.py:89 |
def test_token_estimator_is_deterministic() |
test_wrap_backend_with_budget_charges_call |
function | tests/test_llm_budget.py:347 |
def test_wrap_backend_with_budget_charges_call(tmp_sessions) |
test_wrap_backend_with_budget_returns_same_shape |
function | tests/test_llm_budget.py:307 |
def test_wrap_backend_with_budget_returns_same_shape(tmp_sessions) |
tmp_sessions |
function | tests/test_llm_budget.py:27 |
def tmp_sessions(tmp_path, monkeypatch) |
TestBackendMetadataContract |
class | tests/test_llm_contract.py:114 |
class TestBackendMetadataContract |
TestDeadModuleRemoved |
class | tests/test_llm_contract.py:50 |
class TestDeadModuleRemoved |
TestLlmFactoryContract |
class | tests/test_llm_contract.py:56 |
class TestLlmFactoryContract |
TestSupportModulesContract |
class | tests/test_llm_contract.py:86 |
class TestSupportModulesContract |
_import |
function | tests/test_llm_contract.py:46 |
def _import(name) |
test_ai_fallback_exposes_public_api |
method | tests/test_llm_contract.py:97 |
def test_ai_fallback_exposes_public_api(self) |
test_ai_fallback_reads_factory_constants |
method | tests/test_llm_contract.py:107 |
def test_ai_fallback_reads_factory_constants(self) |
test_ai_model_exposes_all_backends |
method | tests/test_llm_contract.py:102 |
def test_ai_model_exposes_all_backends(self) |
test_api_key_slots |
method | tests/test_llm_contract.py:144 |
def test_api_key_slots(self) |
test_backend_constants_exposed |
method | tests/test_llm_contract.py:69 |
def test_backend_constants_exposed(self) |
test_default_models_match_constants |
method | tests/test_llm_contract.py:125 |
def test_default_models_match_constants(self) |
test_factory_exposes_public_api |
method | tests/test_llm_contract.py:60 |
def test_factory_exposes_public_api(self) |
test_factory_importable |
method | tests/test_llm_contract.py:57 |
def test_factory_importable(self) |
test_llm_client_class_methods_present |
method | tests/test_llm_contract.py:92 |
def test_llm_client_class_methods_present(self) |
test_llm_client_exposes_public_api |
method | tests/test_llm_contract.py:87 |
def test_llm_client_exposes_public_api(self) |
test_metadata_helpers_exposed |
method | tests/test_llm_contract.py:115 |
def test_metadata_helpers_exposed(self) |
test_model_config_keys_match_constants |
method | tests/test_llm_contract.py:135 |
def test_model_config_keys_match_constants(self) |
test_normalize_falls_back_to_auto_on_empty |
method | tests/test_llm_contract.py:80 |
def test_normalize_falls_back_to_auto_on_empty(self) |
test_normalize_rejects_unknown_backend |
method | tests/test_llm_contract.py:75 |
def test_normalize_rejects_unknown_backend(self) |
test_requires_api_key_only_for_cloud |
method | tests/test_llm_contract.py:153 |
def test_requires_api_key_only_for_cloud(self) |
test_supported_backends_are_canonical |
method | tests/test_llm_contract.py:65 |
def test_supported_backends_are_canonical(self) |
test_unified_llm_client_does_not_exist |
method | tests/test_llm_contract.py:51 |
def test_unified_llm_client_does_not_exist(self) |
test_unknown_backend_rejected |
method | tests/test_llm_contract.py:159 |
def test_unknown_backend_rejected(self) |
TestNoLegacyGroqImportInCore |
class | tests/test_llm_legacy_isolation.py:61 |
class TestNoLegacyGroqImportInCore |
_core_source_files |
function | tests/test_llm_legacy_isolation.py:33 |
def _core_source_files() |
_imported_targets |
function | tests/test_llm_legacy_isolation.py:47 |
def _imported_targets(node) |
test_no_core_file_imports_legacy_groq |
method | tests/test_llm_legacy_isolation.py:62 |
def test_no_core_file_imports_legacy_groq(self) |
TestConfig |
class | tests/test_llm_prompts.py:83 |
class TestConfig |
TestKnowledgeStore |
class | tests/test_llm_prompts.py:53 |
class TestKnowledgeStore |
TestRegistryIntegrity |
class | tests/test_llm_prompts.py:157 |
class TestRegistryIntegrity |
TestTemplates |
class | tests/test_llm_prompts.py:129 |
class TestTemplates |
TestTruncateMessage |
class | tests/test_llm_prompts.py:39 |
class TestTruncateMessage |
_config |
function | tests/test_llm_prompts.py:29 |
def _config(tmp_path) |
_write_json |
function | tests/test_llm_prompts.py:23 |
def _write_json(path, payload) |
test_add_and_load_roundtrip |
method | tests/test_llm_prompts.py:63 |
def test_add_and_load_roundtrip(self, tmp_path) |
test_all_templates_have_registered_kb_domain |
method | tests/test_llm_prompts.py:164 |
def test_all_templates_have_registered_kb_domain(self) |
test_boundary_length_kept |
method | tests/test_llm_prompts.py:48 |
def test_boundary_length_kept(self) |
test_event_tool_output_empty_when_no_match |
method | tests/test_llm_prompts.py:116 |
def test_event_tool_output_empty_when_no_match(self, tmp_path) |
test_event_tool_output_reads_file |
method | tests/test_llm_prompts.py:121 |
def test_event_tool_output_reads_file(self, tmp_path) |
test_from_defaults_points_under_module_parent |
method | tests/test_llm_prompts.py:84 |
def test_from_defaults_points_under_module_parent(self, tmp_path, monkeypatch) |
test_general_embeds_payload_rhost |
method | tests/test_llm_prompts.py:144 |
def test_general_embeds_payload_rhost(self, tmp_path) |
test_kb_domains_are_valid_file_names |
method | tests/test_llm_prompts.py:158 |
def test_kb_domains_are_valid_file_names(self) |
test_knowledge_base_path_resolves_names |
method | tests/test_llm_prompts.py:90 |
def test_knowledge_base_path_resolves_names(self, tmp_path) |
test_load_malformed_file_returns_empty |
method | tests/test_llm_prompts.py:58 |
def test_load_malformed_file_returns_empty(self, tmp_path) |
test_load_missing_file_returns_empty |
method | tests/test_llm_prompts.py:54 |
def test_load_missing_file_returns_empty(self, tmp_path) |
test_long_message_truncated_with_ellipsis |
method | tests/test_llm_prompts.py:43 |
def test_long_message_truncated_with_ellipsis(self) |
test_payload_context_defaults_to_empty |
method | tests/test_llm_prompts.py:94 |
def test_payload_context_defaults_to_empty(self, tmp_path) |
test_payload_context_reads_values |
method | tests/test_llm_prompts.py:109 |
def test_payload_context_reads_values(self, tmp_path) |
test_relevant_filters_on_keyword |
method | tests/test_llm_prompts.py:69 |
def test_relevant_filters_on_keyword(self, tmp_path) |
test_relevant_limits_results |
method | tests/test_llm_prompts.py:76 |
def test_relevant_limits_results(self, tmp_path) |
test_render_embeds_knowledge_tail |
method | tests/test_llm_prompts.py:137 |
def test_render_embeds_knowledge_tail(self, tmp_path, name) |
test_render_includes_operator_prompt |
method | tests/test_llm_prompts.py:131 |
def test_render_includes_operator_prompt(self, tmp_path, name) |
test_short_message_returned_unchanged |
method | tests/test_llm_prompts.py:40 |
def test_short_message_returned_unchanged(self) |
test_vuln_embeds_payload_rhost |
method | tests/test_llm_prompts.py:150 |
def test_vuln_embeds_payload_rhost(self, tmp_path) |
TestResilientRotatingFileHandler |
class | tests/test_logging_config.py:21 |
class TestResilientRotatingFileHandler |
_make_logger |
function | tests/test_logging_config.py:13 |
def _make_logger(handler) |
test_detaches_silently_when_file_unwritable |
method | tests/test_logging_config.py:32 |
def test_detaches_silently_when_file_unwritable(self, tmp_path, capsys) |
test_rotating_file_is_exposed |
method | tests/test_logging_config.py:47 |
def test_rotating_file_is_exposed(self) |
test_writes_normally_when_dir_writable |
method | tests/test_logging_config.py:22 |
def test_writes_normally_when_dir_writable(self, tmp_path) |
_Bus |
class | tests/test_loop_ai_bridge.py:38 |
class _Bus |
_Oracle |
class | tests/test_loop_ai_bridge.py:63 |
class _Oracle |
_complete |
function | tests/test_loop_ai_bridge.py:120 |
def _complete(model, prompt, max_tokens) |
_swan |
function | tests/test_loop_ai_bridge.py:140 |
def _swan(prompt, task_type, phase, timeout) |
assess |
method | tests/test_loop_ai_bridge.py:64 |
def assess(self, tool, command, category) |
bridge |
function | tests/test_loop_ai_bridge.py:25 |
def bridge(monkeypatch) |
publish |
method | tests/test_loop_ai_bridge.py:39 |
def publish(self, event) |
store |
function | tests/test_loop_ai_bridge.py:15 |
def store(tmp_path, monkeypatch) |
test_activity_log_publishes_to_bridge |
function | tests/test_loop_ai_bridge.py:52 |
def test_activity_log_publishes_to_bridge(store, bridge, monkeypatch) |
test_annotate_detection_uses_oracle |
function | tests/test_loop_ai_bridge.py:62 |
def test_annotate_detection_uses_oracle(bridge, monkeypatch) |
test_llm_pool_prefers_moe_expert_and_records_outcome |
function | tests/test_loop_ai_bridge.py:108 |
def test_llm_pool_prefers_moe_expert_and_records_outcome(store, bridge, monkeypatch) |
test_planner_uses_swan_when_available |
function | tests/test_loop_ai_bridge.py:133 |
def test_planner_uses_swan_when_available(store, bridge, monkeypatch) |
test_publish_loop_event_skips_stream_kinds |
function | tests/test_loop_ai_bridge.py:34 |
def test_publish_loop_event_skips_stream_kinds(bridge, monkeypatch) |
test_worker_annotates_detection_and_records_outcome |
function | tests/test_loop_ai_bridge.py:74 |
def test_worker_annotates_detection_and_records_outcome(store, bridge, monkeypatch) |
_Shell |
class | tests/test_loop_auto_orchestrator.py:59 |
class _Shell |
_Shell |
class | tests/test_loop_auto_orchestrator.py:131 |
class _Shell |
Next: SYMBOLS_p37.md