MCPcopy Create free account

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

Functions379 in github.com/Panniantong/Agent-Reach

Methodfake_which
(name)
tests/test_channels.py:893
Methodget
(self, key, default=None)
tests/test_channels.py:598
Methodget
(self, key, default=None)
tests/test_channels.py:939
Methodjson
()
tests/test_cli.py:212
Functionlist_tools
()
agent_reach/integrations/mcp_server.py:37
Methodmake_item
(id_, title, text, author, likes, target)
tests/test_channels.py:475
Methodok
(self)
agent_reach/probe.py:34
Methodok
(self)
tests/test_transcribe.py:37
Methodraise_error
(req, timeout=None)
tests/test_channels.py:68
Methodraise_error
(req, timeout=None)
tests/test_channels.py:371
Methodread
(self)
tests/test_channels.py:53
Methodread
(self)
tests/test_channels.py:358
Methodready
Usable now or on first call. A live connection counts, and so does an installed-but-sleeping extension: its service worker wakes on t
agent_reach/backends/opencli.py:69
Functionrun_side_effect
(cmd, **kwargs)
tests/test_twitter_channel.py:143
Methodtest_active_backend_set_when_authenticated
(self, monkeypatch)
tests/test_channels.py:1079
Methodtest_active_backend_set_when_exa_configured
(self, monkeypatch)
tests/test_channels.py:1167
Methodtest_active_backend_set_when_fully_configured
(self, monkeypatch)
tests/test_channels.py:1198
Methodtest_active_backend_set_when_linkedin_configured
(self, monkeypatch)
tests/test_channels.py:1124
Methodtest_active_backend_set_when_unauthenticated
gh auth status 非零退出是正常业务态(未登录):warn 但后端可用。
tests/test_channels.py:1092
Methodtest_all_channels_registered
(self)
tests/test_channels.py:24
Methodtest_all_fail_raises_with_last_error
(self, monkeypatch, fake_config, chunk_file)
tests/test_transcribe.py:147
Functiontest_all_warn_falls_back_to_first_warn
()
tests/test_twitter_channel.py:172
Methodtest_api_only_still_ok_with_install_nudge
(self, monkeypatch)
tests/test_channels.py:1024
Methodtest_backend_override_prefers_cli
config xiaohongshu_backend=xhs-cli 时,即使 OpenCLI ready 也用 xhs-cli。
tests/test_channels.py:928
Methodtest_bili_broken_and_no_fallback_reports_error
(self, monkeypatch)
tests/test_channels.py:997
Methodtest_bili_broken_falls_back_to_api_with_hint_kept
bili 断链 → API 兜底获胜,但重装处方必须保留在消息里。
tests/test_channels.py:977
Methodtest_bili_cli_ok_is_active_backend
(self, monkeypatch)
tests/test_channels.py:959
Functiontest_broken_node_env_gives_npm_hint
()
tests/test_opencli_backend.py:35
Functiontest_broken_shebang_detected_as_broken
A stale venv shim: which() finds it, exec raises FileNotFoundError.
tests/test_probe.py:26
Methodtest_can_handle_reddit_urls
(self)
tests/test_channels.py:772
Methodtest_can_handle_v2ex_urls
(self)
tests/test_channels.py:34
Methodtest_can_handle_xueqiu_urls
(self)
tests/test_channels.py:330
Functiontest_channel_active_backend_attribute_contract
Every channel exposes active_backend (default None, or str once set).
tests/test_channel_contracts.py:39
Functiontest_channel_active_backend_set_by_check
After check(), active_backend is None or a str — never anything else.
tests/test_channel_contracts.py:48
Functiontest_channel_can_handle_contract
()
tests/test_channel_contracts.py:166
Functiontest_channel_check_contract_with_minimal_runtime
(monkeypatch, tmp_path)
tests/test_channel_contracts.py:28
Functiontest_channel_registry_contract
()
tests/test_channel_contracts.py:15
Methodtest_check_all_collects_channel_results
(self, tmp_config, monkeypatch)
tests/test_doctor.py:31
Functiontest_check_bird_fallback_auth_missing
No twitter-cli, bird found but Missing credentials → warn.
tests/test_twitter_channel.py:68
Functiontest_check_bird_fallback_auth_ok
No twitter-cli, but bird found + bird check ok → ok.
tests/test_twitter_channel.py:51
Functiontest_check_nothing_installed
Neither twitter-cli nor bird → warn with install hint.
tests/test_twitter_channel.py:86
Methodtest_check_ok_when_api_reachable
(self, monkeypatch)
tests/test_channels.py:41
Methodtest_check_ok_when_api_reachable
(self, monkeypatch)
tests/test_channels.py:338
Functiontest_check_twitter_cli_broken_falls_back_to_bird
twitter-cli 断链但 bird 健康 → 回退到 bird,后端正确归属。
tests/test_twitter_channel.py:134
Functiontest_check_twitter_cli_broken_reports_error_with_reinstall_hint
which 命中但 exec 抛 FileNotFoundError(venv 断链)→ error + 重装处方。
tests/test_twitter_channel.py:119
Functiontest_check_twitter_cli_found_and_auth_ok
twitter-cli found + twitter status ok → ok.
tests/test_twitter_channel.py:18
Functiontest_check_twitter_cli_found_auth_missing
twitter-cli found + not_authenticated → warn about auth.
tests/test_twitter_channel.py:32
Methodtest_check_update_reports_classified_error
(self, capsys)
tests/test_cli.py:178
Methodtest_check_warn_when_api_unreachable
(self, monkeypatch)
tests/test_channels.py:65
Methodtest_check_warn_when_api_unreachable
(self, monkeypatch)
tests/test_channels.py:366
Methodtest_chunks_concatenated_with_newlines
( self, monkeypatch, fake_config, tmp_path, chunk_file )
tests/test_transcribe.py:191
Methodtest_classify_rate_limit_from_403
(self)
tests/test_cli.py:167
Methodtest_config_file_priority_over_env
(self, tmp_config, monkeypatch)
tests/test_config.py:39
Functiontest_daemon_not_running_parsed_correctly
()
tests/test_opencli_backend.py:81
Functiontest_daemon_running_extension_connected_is_ready
()
tests/test_opencli_backend.py:42
Methodtest_delegates_to_transcribe
(self, monkeypatch, fake_config)
tests/test_transcribe.py:232
Methodtest_delete
(self, tmp_config)
tests/test_config.py:53
Methodtest_doctor
(self, eyes)
tests/test_core.py:20
Methodtest_doctor_report
(self, eyes)
tests/test_core.py:26
Methodtest_doctor_runs
(self, capsys)
tests/test_cli.py:29
Methodtest_empty_input
(self)
tests/test_xhs_format.py:123
Methodtest_ensure_cookies_loads_from_config
_ensure_cookies() should inject cookies from the config file.
tests/test_channels.py:590
Methodtest_equal_versions_no_update
(self)
tests/test_cli.py:192
Functiontest_exit_127_classified_as_broken
(tmp_path, monkeypatch)
tests/test_probe.py:64
Functiontest_extension_never_installed_not_ready_with_store_guide
()
tests/test_opencli_backend.py:53
Methodtest_format_report
(self)
tests/test_doctor.py:72
Methodtest_get_channel_by_name
(self)
tests/test_channels.py:16
Methodtest_get_configured_features
(self, tmp_config)
tests/test_config.py:64
Methodtest_get_default
(self, tmp_config)
tests/test_config.py:31
Methodtest_get_from_env
(self, tmp_config, monkeypatch)
tests/test_config.py:35
Methodtest_get_hot_posts_respects_limit
(self, monkeypatch)
tests/test_channels.py:513
Methodtest_get_hot_posts_returns_list
(self, monkeypatch)
tests/test_channels.py:469
Methodtest_get_hot_stocks
(self, monkeypatch)
tests/test_channels.py:553
Methodtest_get_hot_topics_respects_limit
(self, monkeypatch)
tests/test_channels.py:126
Methodtest_get_hot_topics_returns_list
(self, monkeypatch)
tests/test_channels.py:80
Methodtest_get_hot_topics_truncates_content
(self, monkeypatch)
tests/test_channels.py:144
Methodtest_get_json_sends_referer_and_browser_ua
_get_json() must send Referer and a browser-like User-Agent.
tests/test_channels.py:624
Methodtest_get_node_topics
(self, monkeypatch)
tests/test_channels.py:166
Methodtest_get_stock_quote
(self, monkeypatch)
tests/test_channels.py:383
Methodtest_get_topic_handles_empty_replies
(self, monkeypatch)
tests/test_channels.py:251
Methodtest_get_topic_returns_detail_and_replies
(self, monkeypatch)
tests/test_channels.py:198
Methodtest_get_unknown_channel_returns_none
(self)
tests/test_channels.py:21
Methodtest_get_user_returns_profile
(self, monkeypatch)
tests/test_channels.py:286
Methodtest_groq_429_falls_back_to_openai
(self, monkeypatch, fake_config, chunk_file)
tests/test_transcribe.py:114
Methodtest_groq_succeeds_no_openai_call
(self, monkeypatch, fake_config, chunk_file)
tests/test_transcribe.py:100
Functiontest_healthy_command_returns_ok_with_output
(tmp_path, monkeypatch)
tests/test_probe.py:40
Methodtest_init
(self, eyes)
tests/test_core.py:17
Methodtest_init_creates_dir
(self, tmp_path)
tests/test_config.py:22
Methodtest_install_creates_dir_if_parent_exists
_install_skill should create agent-reach dir inside existing skill dir.
tests/test_skill_command.py:74
Methodtest_install_rdt_cli_prefers_github_source
(self, monkeypatch, capsys)
tests/test_cli.py:63
Methodtest_install_reddit_deps_routes_by_environment
桌面 → OpenCLI;服务器 → rdt-cli(钉 git 源)。
tests/test_cli.py:88
Methodtest_install_skill_creates_skill_md
_install_skill should create SKILL.md in the first available skill dir.
tests/test_skill_command.py:26
Methodtest_install_uses_english_skill_for_english_locale
_install_skill should install the English skill file for English locales.
tests/test_skill_command.py:96
Functiontest_install_xiaoyuzhou_deps_does_not_raise_when_no_groq_key
(capsys)
tests/test_xiaoyuzhou_install.py:13
Methodtest_invalid_provider_string
(self, fake_config, chunk_file)
tests/test_transcribe.py:223
Methodtest_is_configured
(self, tmp_config)
tests/test_config.py:59
Methodtest_list_input
(self)
tests/test_xhs_format.py:92
Methodtest_local_ahead_of_release_no_downgrade_prompt
发版窗口期本地装了 main(更新)时,不能提示"有更新"诱导降级。
tests/test_cli.py:195
Methodtest_local_file_skips_yt_dlp
(self, monkeypatch, fake_config, tmp_path, chunk_file)
tests/test_transcribe.py:163
Methodtest_mcp_reachable_but_mcporter_unconfigured_warns
(self, monkeypatch)
tests/test_channels.py:909
← previousnext →201–300 of 379, ranked by callers