Orchestrata Ultimate › Tests › Reference › orchestrator › test_intent_parser

Tests reference — tests/orchestrator/test_intent_parser.py

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

Prose pending.

tests/orchestrator/test_intent_parser.py

source · 44 tests · 418 lines

Covers: orchestrator.intent_parser

Kind Name Line Description
function test_action_values 49
function test_resource_type_values 58
function test_intent_defaults 72
function test_intent_to_string_no_constraints 79
function test_intent_to_string_with_constraints 86
function test_intent_hash 99
function test_intent_to_prolog 110
function test_parse_simple 128
function test_parse_with_constraints 136
function test_parse_execute_command 142
function test_parse_create_directory 149
function test_parse_git_resource 155
function test_parse_network_resource 160
function test_parse_system_resource 165
function test_parse_invalid_format 170
function test_parse_invalid_action 175
function test_parse_invalid_resource_type 180
function test_parse_empty_path 185
function test_parse_whitespace_stripped 191
function test_try_parse_success 201
function test_try_parse_failure 207
function test_try_parse_empty_string 212
function test_extract_read_file 227
function test_extract_write_file 235
function test_extract_edit_file 242
function test_extract_bash_command 248
function test_extract_bash_git_command 256
function test_extract_glob 264
function test_extract_grep 272
function test_extract_task 279
function test_extract_webfetch 288
function test_extract_websearch 295
function test_extract_todo_write 303
function test_extract_unknown_tool 311
function test_validate_safe_read 326
function test_validate_protected_path_write 335
function test_validate_protected_path_delete 346
function test_validate_protected_path_modify 356
function test_validate_protected_path_read_ok 366
function test_validate_destructive_command 375
function test_validate_safe_command 386
function test_is_safe_command_yes 396
function test_is_safe_command_no 405
function test_is_safe_command_non_command 414