MCPcopy Create free account

hub / github.com/Panniantong/Agent-Reach / functions

Functions379 in github.com/Panniantong/Agent-Reach

Methodtest_mcp_service_wins_when_opencli_absent
服务器场景:OpenCLI 未装、mcp 服务可达且 mcporter 已接入 → mcp 获胜。
tests/test_channels.py:889
Functiontest_mcporter_utf8_env_args
()
tests/test_process.py:12
Functiontest_missing_command
()
tests/test_probe.py:19
Methodtest_newer_remote_triggers_update
(self)
tests/test_cli.py:189
Methodtest_no_command_shows_help
(self, capsys)
tests/test_cli.py:23
Methodtest_no_provider_configured_fails_fast
(self, fake_config, chunk_file)
tests/test_transcribe.py:219
Methodtest_non_dict_passthrough
(self)
tests/test_xhs_format.py:127
Functiontest_nonzero_exit_classified_as_error
(tmp_path, monkeypatch)
tests/test_probe.py:52
Functiontest_not_installed
()
tests/test_opencli_backend.py:28
Methodtest_note_card_wrapper
Handle notes nested under 'note_card'.
tests/test_xhs_format.py:98
Methodtest_off_when_everything_unreachable
(self, monkeypatch)
tests/test_channels.py:1034
Methodtest_off_without_backend_when_linkedin_not_configured
(self, monkeypatch)
tests/test_channels.py:1137
Methodtest_openai_whisper_feature_registered
(self, fake_config)
tests/test_transcribe.py:257
Methodtest_opencli_ready_wins
(self, monkeypatch)
tests/test_channels.py:669
Methodtest_opencli_ready_wins_over_cli
OpenCLI 完整可用时按序获胜,即使 xhs-cli 也完整可用。
tests/test_channels.py:859
Methodtest_opencli_serves_when_bili_missing
(self, monkeypatch)
tests/test_channels.py:1015
Methodtest_opencli_warn_loses_to_usable_cli
OpenCLI 装了但扩展未连(warn)时,完整可用的 xhs-cli 获胜。
tests/test_channels.py:874
Functiontest_ordered_backends_contract
ordered_backends(config) is a reordering (same multiset) of backends.
tests/test_channel_contracts.py:72
Functiontest_ordered_backends_override_moves_backend_to_front
Config key <channel>_backend promotes the named backend to front.
tests/test_channel_contracts.py:86
Methodtest_parse_twitter_cookie_input_cookie_header
(self)
tests/test_cli.py:56
Methodtest_parse_twitter_cookie_input_separate_values
(self)
tests/test_cli.py:51
Functiontest_probe_uses_daemon_status_not_doctor
`opencli doctor` auto-starts the daemon (side effect) — health checks must only ever call `daemon status`.
tests/test_opencli_backend.py:92
Methodtest_raises_on_http_error
(self, monkeypatch, fake_config, chunk_file)
tests/test_transcribe.py:81
Methodtest_raises_when_key_missing
(self, fake_config, chunk_file)
tests/test_transcribe.py:77
Functiontest_reinstall_hint_mentions_both_installers
()
tests/test_probe.py:87
Methodtest_reports_error_when_status_check_fails
rdt 非零退出且输出不可解析 → 工具异常(error),不再算 warn。
tests/test_channels.py:722
Methodtest_reports_error_with_reinstall_hint_on_exit_127
退出码 127(找到但跑不动)同样按断链处理。
tests/test_channels.py:756
Methodtest_reports_error_with_reinstall_hint_when_broken
which 命中但 exec 抛 FileNotFoundError(venv 断链)→ error + 重装处方。
tests/test_channels.py:738
Methodtest_reports_error_with_reinstall_hint_when_broken
which 命中但 exec 抛 FileNotFoundError(venv 断链)→ error + 重装处方。
tests/test_channels.py:841
Methodtest_reports_error_with_reinstall_hint_when_broken
yt-dlp which 命中但 exec 抛 FileNotFoundError → error + 重装处方。
tests/test_channels.py:1045
Methodtest_reports_error_with_reinstall_hint_when_broken
gh which 命中但 exec 失败 → error + brew 重装处方(gh 不是 pip 包)。
tests/test_channels.py:1063
Methodtest_reports_error_with_reinstall_hint_when_broken
mcporter which 命中但 exec 失败 → error + npm 重装处方。
tests/test_channels.py:1109
Methodtest_reports_error_with_reinstall_hint_when_broken
mcporter which 命中但 exec 失败 → error + npm 重装处方。
tests/test_channels.py:1152
Methodtest_reports_error_with_reinstall_hint_when_ffmpeg_broken
ffmpeg which 命中但 exec 失败(pip 假 ffmpeg 断链)→ error + 重装处方。
tests/test_channels.py:1182
Methodtest_reports_off_when_nothing_installed
(self, monkeypatch)
tests/test_channels.py:658
Methodtest_reports_off_when_nothing_installed
(self, monkeypatch)
tests/test_channels.py:830
Methodtest_reports_ok_when_authenticated
(self, monkeypatch)
tests/test_channels.py:678
Methodtest_reports_ok_when_cli_authenticated
(self, monkeypatch)
tests/test_channels.py:799
Methodtest_reports_warn_when_not_authenticated
(self, monkeypatch)
tests/test_channels.py:698
Methodtest_reports_warn_when_not_authenticated
(self, monkeypatch)
tests/test_channels.py:814
Functiontest_retries_help_transient_failures
First call fails (exit 1), second succeeds — retries=1 should return ok.
tests/test_probe.py:74
Methodtest_retry_dns_classification
(self)
tests/test_cli.py:125
Methodtest_retry_rate_limit_then_success
(self)
tests/test_cli.py:137
Methodtest_retry_timeout_classification
(self)
tests/test_cli.py:106
Methodtest_routes_to_groq_endpoint
(self, monkeypatch, fake_config, chunk_file)
tests/test_transcribe.py:45
Methodtest_routes_to_openai_endpoint
(self, monkeypatch, fake_config, chunk_file)
tests/test_transcribe.py:62
Methodtest_save_and_load
(self, tmp_config)
tests/test_config.py:44
Methodtest_save_creates_file_with_restricted_permissions
(self, tmp_path)
tests/test_config.py:77
Methodtest_search_results_wrapper
Handle {"items": [...]} wrapper from search_feeds.
tests/test_xhs_format.py:84
Methodtest_search_returns_unavailable_notice
(self)
tests/test_channels.py:322
Methodtest_search_stock
(self, monkeypatch)
tests/test_channels.py:436
Methodtest_set_and_get
(self, tmp_config)
tests/test_config.py:27
Methodtest_single_note_drops_useless_fields
(self)
tests/test_xhs_format.py:73
Methodtest_single_note_keeps_useful_fields
(self)
tests/test_xhs_format.py:58
Methodtest_skill_resources_include_both_locales
Package resources should expose both default and English skill markdown files.
tests/test_skill_command.py:16
Methodtest_skip_unconfigured_provider
(self, monkeypatch, fake_config, chunk_file)
tests/test_transcribe.py:133
Functiontest_sleeping_extension_counts_as_ready
实测:扩展 service worker 睡眠时 daemon status 报 disconnected, 但任何真实命令会唤醒它——装在磁盘上即视为可用。
tests/test_opencli_backend.py:65
Functiontest_stale_active_backend_does_not_leak_into_errored_result
渠道单例上一轮的 active_backend 不得泄漏进本轮异常结果(Codex review 发现)。
tests/test_doctor.py:109
Functiontest_sync_bird_env_quotes_shell_metachars
Tokens containing ", $, `, ; etc. must not break out of the assignment. Prior implementation used `f'AUTH_TOKEN="{auth_token}"'` which an attacke
tests/test_cookie_extract_perms.py:51
Functiontest_sync_bird_env_writes_0600
(tmp_path, monkeypatch)
tests/test_cookie_extract_perms.py:42
Functiontest_sync_xfetch_session_writes_0600
(tmp_path, monkeypatch)
tests/test_cookie_extract_perms.py:29
Methodtest_to_dict_masks_sensitive
(self, tmp_config)
tests/test_config.py:70
Methodtest_transcribe_command_prints_text
(self, capsys)
tests/test_cli.py:36
Methodtest_transcribe_command_writes_output_file
(self, capsys, tmp_path)
tests/test_cli.py:43
Functiontest_twitter_cli_preferred_over_bird
When both are installed, twitter-cli is used.
tests/test_twitter_channel.py:98
Functiontest_unauthenticated_twitter_cli_does_not_block_working_opencli
warn 候选不得屏蔽排在后面的 ok 候选(Codex review 发现)。
tests/test_twitter_channel.py:157
Methodtest_uninstall_skill_removes_dir
_uninstall_skill should remove skill directories.
tests/test_skill_command.py:52
Methodtest_unknown_provider
(self, fake_config, chunk_file)
tests/test_transcribe.py:91
Methodtest_unparseable_falls_back_to_inequality
(self)
tests/test_cli.py:199
Functiontest_utf8_subprocess_env_forces_python_utf8
()
tests/test_process.py:4
Methodtest_version
(self, capsys)
tests/test_cli.py:15
Methodtest_watch_does_not_prompt_downgrade
watch 与 check-update 同语义:本地领先远端 release 时不提示更新。
tests/test_cli.py:205
Methodtest_with_comments
(self)
tests/test_xhs_format.py:104
Functiontest_youtube_ok_when_deno_installed
YouTube should return ok when Deno is installed (no config needed).
tests/test_channel_contracts.py:146
Functiontest_youtube_warns_when_node_only_and_no_config
YouTube should warn when only Node.js is installed but no yt-dlp config exists.
tests/test_channel_contracts.py:100
Functiontest_youtube_warns_with_windows_specific_fix_command
Windows guidance should use a PowerShell-style yt-dlp config command.
tests/test_channel_contracts.py:123
Functiontmp_config
Create a Config with a temporary directory.
tests/test_config.py:15
Functiontmp_config
(tmp_path)
tests/test_doctor.py:26
Functionwhich_side_effect
(name)
tests/test_twitter_channel.py:54
← previous301–379 of 379, ranked by callers