Orchestrata Ultimate › Tests › Reference › scripts › test_codemod_cli_daemon
Tests reference — tests/scripts/test_codemod_cli_daemon.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_codemod_cli_daemon.py
source · 28 tests · 1017 lines
scripts/codemod.py in daemon mode (REQ-110-140, contract D29).
Covers: core.base.traces, refactor.codemod.client, refactor.codemod.daemon, refactor.codemod.report, refactor.codemod.server, refactor.codemod.workspace
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_every_analyze_query_prints_the_same_text_in_both_modes |
196 | |
| function | test_refusals_read_the_same_in_both_modes |
238 | |
| function | test_a_pass_query_without_a_daemon_method_is_parsed_locally_with_a_notice |
255 | |
| function | test_run_dry_run_prints_the_same_text_and_report_in_both_modes |
274 | |
| function | test_run_with_two_passes_stacks_them_into_one_run_in_both_modes |
313 | |
| function | test_run_apply_writes_the_same_files_in_both_modes |
346 | |
| function | test_run_observe_reaches_the_daemons_observers |
399 | |
| function | test_an_unknown_pass_is_refused_before_the_daemon_is_touched |
422 | |
| function | test_a_dry_run_through_the_daemon_leaves_the_forest_unchanged |
440 | |
| function | test_a_disconnect_with_a_pending_run_restores_the_forest |
475 | |
| function | test_a_foreign_run_id_is_refused |
515 | |
| function | test_the_library_mode_warning_is_exact_and_once |
559 | |
| function | test_a_stale_socket_file_falls_back_with_the_warning |
573 | |
| function | test_a_stale_socket_file_ends_in_one_warning_after_three_retries |
591 | |
| function | test_a_connect_between_the_servers_bind_and_listen_succeeds |
613 | A connect inside the bind-to-listen window is retried and succeeds. |
| function | test_no_daemon_is_silent |
668 | |
| function | test_load_bench_and_report_never_connect |
681 | |
| function | test_a_daemon_that_loaded_other_roots_is_not_used_and_the_notice_says_so |
720 | |
| function | test_the_mismatch_notice_covers_analyze_too_and_the_answer_is_the_library_answer |
742 | |
| function | test_without_include_the_daemons_roots_are_the_roots |
756 | |
| function | test_explicit_roots_that_match_the_daemons_use_the_daemon |
774 | |
| function | test_include_naming_the_whole_repo_does_not_match_a_narrow_daemon |
791 | |
| function | test_an_include_outside_the_repo_gets_the_notice_and_library_modes_refusal |
806 | |
| function | test_a_commit_failure_prints_the_same_error_line_in_both_modes |
836 | |
| function | test_an_edit_the_daemon_has_not_seen_fails_the_commit_with_its_cause |
860 | |
| function | test_two_passes_on_one_file_end_at_the_second_passes_output_in_both_modes |
915 | |
| function | test_a_replacement_carrying_the_literals_own_quote_changes_nothing |
944 | |
| function | test_a_dry_run_that_changes_nothing_says_so_and_exits_0 |
996 |