Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TencentCloud/Octop
/ functions
Functions
12,485 in github.com/TencentCloud/Octop
⨍
Functions
12,485
◇
Types & classes
1,527
↳
Endpoints
468
Function
test_initial_admin_requires_wizard_token
(env: Any)
tests/integration/test_setup_wizard.py:57
Function
test_initial_admin_respects_locale_body
(env: Any)
tests/integration/test_setup_wizard.py:96
Function
test_initial_admin_succeeds_with_token
(env: Any)
tests/integration/test_setup_wizard.py:67
Function
test_inject_composite_default_local_shell
(tmp_path: Path, monkeypatch)
tests/unit/agents/test_execute_env.py:95
Function
test_inject_docker_global_environment_sets_file
()
tests/unit/test_storage_spec.py:184
Function
test_inject_docker_only_sets_platform_defaults
(tmp_path: Path, monkeypatch)
tests/unit/agents/test_execute_env.py:148
Function
test_inject_keeps_legacy_auth_when_tokens_already_there
(tmp_path: Path, monkeypatch)
tests/unit/agents/test_execute_env.py:76
Function
test_inject_legacy_layout_keeps_root_octop_auth
(tmp_path: Path, monkeypatch)
tests/unit/agents/test_execute_env.py:59
Function
test_inject_local_shell_uses_octop_auth_for_new_layout
(tmp_path: Path, monkeypatch)
tests/unit/agents/test_execute_env.py:32
Function
test_inject_scoped_root_uses_agent_facing_auth_paths
(tmp_path: Path, monkeypatch)
tests/unit/agents/test_execute_env.py:117
Function
test_inline_disposition
()
tests/unit/api/test_content_disposition.py:14
Function
test_inline_thinking_is_not_duplicated_after_final_state
(archive)
tests/unit/gateway/test_versioned_history.py:592
Function
test_insert_returning_id
(tmp_path)
tests/unit/db/test_db_sql_helpers.py:21
Function
test_install_and_list
(tmp_path: Path)
tests/unit/test_plugin_manager.py:41
Function
test_install_archive_accepts_local_zip
(tmp_path: Path)
tests/unit/test_plugin_manager.py:146
Function
test_install_archive_rejects_non_zip
(tmp_path: Path)
tests/unit/test_plugin_manager.py:158
Function
test_install_argv_returns_none_for_unknown_manager
()
tests/unit/infra/utils/test_bwrap.py:129
Function
test_install_argv_shapes
Argv tail is stable on every platform (uses mocked ``shutil.which``).
tests/unit/infra/utils/test_bwrap.py:100
Function
test_install_argv_uses_passwordless_sudo_prefix_when_requested
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/infra/utils/test_bwrap.py:116
Function
test_install_catalog_subagent
(env: Any)
tests/integration/test_subagents_api.py:165
Function
test_install_catalog_subagent_locale_override
(env: Any)
tests/integration/test_subagents_api.py:199
Function
test_install_cli_admin_ok_mocked
(env, monkeypatch: pytest.MonkeyPatch)
tests/integration/test_connectors_api.py:435
Function
test_install_cli_forbidden_for_non_admin
(env)
tests/integration/test_connectors_api.py:427
Function
test_install_degrades_to_user_prefix_when_global_not_writable
npm 全局目录不可写(fnOS/容器内非 root 用户)时降级到 ~/.npm-global。
tests/unit/connectors/test_cli_install.py:91
Function
test_install_failed_message_hides_shell_commands
()
tests/unit/utils/test_runtime_packages.py:122
Function
test_install_fails_without_npm
(monkeypatch: pytest.MonkeyPatch)
tests/unit/connectors/test_cli_install.py:35
Function
test_install_failure_message_uses_prefixed_command
When global prefix is not writable, failure guidance must not suggest bare -g.
tests/unit/connectors/test_cli_install.py:145
Function
test_install_keeps_source_quick_prompts_when_publish_body_omits_them
( env: tuple[Any, Any, dict[str, str]], )
tests/integration/test_published_experts.py:208
Function
test_install_keeps_source_task_examples_when_publish_body_omits_them
( env: tuple[Any, Any, dict[str, str]], )
tests/integration/test_published_experts.py:262
Function
test_install_letsencrypt_cert_updates_config
(tmp_path: Path)
tests/unit/infra/setup/tls/test_tls_store.py:13
Function
test_install_mobile_stream_auto_install_fails_reports_docker_missing
()
tests/unit/mobile/test_docker_install.py:220
Function
test_install_mobile_stream_auto_installs_docker_then_proceeds
()
tests/unit/mobile/test_docker_install.py:170
Function
test_install_mobile_stream_no_sudo_reports_docker_missing
()
tests/unit/mobile/test_docker_install.py:248
Function
test_install_packages_bootstraps_pip_on_missing_module
(monkeypatch)
tests/unit/utils/test_runtime_packages.py:68
Function
test_install_packages_extra_fallback
(monkeypatch)
tests/unit/utils/test_runtime_packages.py:97
Function
test_install_packages_noop_when_satisfied
()
tests/unit/utils/test_runtime_packages.py:41
Function
test_install_packages_uses_uv_then_pip
(monkeypatch)
tests/unit/utils/test_runtime_packages.py:45
Function
test_install_path_already_exists
(tmp_path: Path)
tests/unit/test_plugin_manager.py:170
Function
test_install_published_expert_accepts_create_options
( env: tuple[Any, Any, dict[str, str]], )
tests/integration/test_published_experts.py:79
Function
test_install_published_expert_does_not_copy_source_composer_defaults
( env: tuple[Any, Any, dict[str, str]], )
tests/integration/test_published_experts.py:116
Function
test_install_returns_pid
(env: Any)
tests/integration/test_browser_api.py:228
Function
test_install_runs_npm
(monkeypatch: pytest.MonkeyPatch, tmp_path: Any)
tests/unit/connectors/test_cli_install.py:47
Function
test_install_script_darwin
()
tests/unit/infra/utils/test_docker_env.py:17
Function
test_install_script_linux
()
tests/unit/infra/utils/test_docker_env.py:11
Function
test_install_service_does_not_rewrite_custom_unit_without_force
Hand-edited ExecStart/User must survive `octop service start/restart`.
tests/unit/infra/setup/test_service.py:172
Function
test_install_service_launchd_force_reload
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
tests/unit/infra/setup/test_service.py:386
Function
test_install_service_launchd_force_reload_tolerates_unloaded
`bootout` returns non-zero when nothing is loaded; install must not crash. Regression: previously we raised on the bootout step whenever the serv
tests/unit/infra/setup/test_service.py:411
Function
test_install_service_launchd_user_no_sudo
User-scope install on macOS must not invoke sudo for bootstrap.
tests/unit/infra/setup/test_service.py:598
Function
test_install_service_systemd_user_uses_systemctl_user
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
tests/unit/infra/setup/test_service.py:144
Function
test_install_service_uses_bootstrap_target_not_bare_scope
Regression: bootstrap must pass `gui/$UID`, never the bare scope name.
tests/unit/infra/setup/test_service.py:531
Function
test_install_service_writes_nofile_dropin_without_touching_unit
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
tests/unit/infra/setup/test_service.py:200
Function
test_install_url_accepts_valid_zip
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_plugin_manager.py:121
Function
test_install_url_rejects_non_zip
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_plugin_manager.py:100
Function
test_install_when_already_present
(monkeypatch: pytest.MonkeyPatch)
tests/unit/connectors/test_cli_install.py:25
Function
test_installed_snapshot_ignores_later_os_environ_changes
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/auth/test_captcha_env.py:55
Function
test_instance
Probe the connector with stored credentials and return success or error details.
src/octop/api/routers/connectors.py:912
Function
test_interleaved_identified_reasoning_survives_state_replay
(archive)
tests/unit/gateway/test_versioned_history.py:365
Function
test_internal_learning_team_members_have_no_tools
()
tests/unit/agents/test_clinical_learning_subscription_template.py:527
Function
test_internal_mcp_tools_list
(env, monkeypatch: pytest.MonkeyPatch)
tests/integration/test_connectors_api.py:339
Function
test_interval_seconds
()
tests/unit/cron/test_cron_trigger.py:16
Method
test_invalid_custom_id_rejected_before_repo_lookup
(self)
tests/unit/agents/test_custom_agent_id.py:81
Function
test_invalid_database_driver_raises
(tmp_path: Path)
tests/unit/test_config.py:250
Function
test_invalid_day_window_returns_400
(env: Any)
tests/integration/test_usage_api.py:292
Function
test_invalid_env_port_falls_back_to_file
( octop_home: Path, monkeypatch: pytest.MonkeyPatch )
tests/unit/cli/test_run_bind_resolution.py:50
Function
test_invalid_port_falls_back
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_config.py:243
Function
test_invalid_token_401
(client)
tests/integration/test_auth_flow.py:61
Function
test_invite_admin_requires_users_permission
(env)
tests/integration/test_invites_api.py:110
Function
test_invite_create_list_redeem_and_one_time
(env)
tests/integration/test_invites_api.py:11
Function
test_invite_repo_redeem_once
(db: SqlitePool)
tests/unit/users/test_invites.py:36
Function
test_invite_repo_revoke
(db: SqlitePool)
tests/unit/users/test_invites.py:73
Function
test_invite_revoke
(env)
tests/integration/test_invites_api.py:94
Function
test_invoke_discards_progress_before_tool_and_emits_final_once
()
tests/unit/gateway/test_response_mode.py:30
Function
test_invoke_forwards_error_without_partial_text
()
tests/unit/gateway/test_response_mode.py:94
Function
test_invoke_preserves_tool_media_with_final_text
()
tests/unit/gateway/test_response_mode.py:75
Function
test_invoke_strips_orphan_thinking_prefix_from_final_text
()
tests/unit/gateway/test_response_mode.py:54
Function
test_is_allowed_host_temp_path_under_system_temp
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
tests/unit/test_host_paths.py:43
Function
test_is_artifact_tool_name
()
tests/unit/agents/test_thread_artifacts.py:44
Function
test_is_blocked_appdata_temp_segment
()
tests/unit/test_host_paths.py:39
Function
test_is_blocked_host_download_path
(path: str, blocked: bool)
tests/unit/test_host_paths.py:35
Function
test_is_bootstrapped_assumes_true_when_backend_check_fails
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:375
Function
test_is_bootstrapped_returns_false_when_agent_not_running
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:371
Function
test_is_downloaded_finds_nested_onnx_weights
Regression: weights under ``onnx/`` with a non-``model.onnx`` name. ``jinaai/jina-clip-v1`` ships ``onnx/text_model.onnx`` / ``onnx/vision_mo
tests/unit/agents/test_onnx_service.py:336
Function
test_is_downloaded_ignores_dangling_snapshot_symlink
A snapshot entry whose blob is still downloading must not count.
tests/unit/agents/test_onnx_service.py:360
Function
test_is_downloaded_recognizes_fastembed_hf_alias
(tmp_path, monkeypatch)
tests/unit/agents/test_onnx_service.py:225
Function
test_is_editable_doc_by_extension
()
tests/unit/utils/test_doc_edit.py:50
Function
test_is_emulator_device_by_serial
()
tests/unit/mobile/test_rotation.py:32
Function
test_is_host_absolute_path
(path: str, expected: bool)
tests/unit/test_host_download_allow.py:27
Function
test_is_host_root_ignores_drive_root_and_missing
()
tests/unit/backend/test_resolver.py:85
Function
test_is_host_root_matches_explicit_host_roots
()
tests/unit/backend/test_resolver.py:80
Function
test_is_in_active_hours_boundary_end
Should return False exactly at the active-window end.
tests/unit/proactive/test_scheduler.py:180
Function
test_is_in_active_hours_boundary_start
Should return True exactly at the active-window start.
tests/unit/proactive/test_scheduler.py:174
Function
test_is_in_active_hours_false_after
Should return False after active hours.
tests/unit/proactive/test_scheduler.py:154
Function
test_is_in_active_hours_false_before
Should return False before active hours.
tests/unit/proactive/test_scheduler.py:148
Function
test_is_in_active_hours_true
Should return True inside active hours.
tests/unit/proactive/test_scheduler.py:142
Function
test_is_in_active_hours_with_timezone
()
tests/unit/proactive/test_scheduler.py:160
Function
test_is_linux_virtual_display
(monkeypatch)
tests/unit/desktop/test_capture_display.py:12
Function
test_is_linux_virtual_display_non_linux
(monkeypatch)
tests/unit/desktop/test_capture_display.py:18
Function
test_is_local_runtime_provider
()
tests/unit/agents/test_model_flags.py:54
Function
test_is_newer
()
tests/unit/infra/setup/test_self_update.py:34
Function
test_is_offload_placeholder_block_matches_image_format
()
tests/unit/api/test_chat_polish.py:277
← previous
next →
10,401–10,500 of 12,485, ranked by callers