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_ensure_nofile_dropin_skips_when_user_limit_unknown
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
tests/unit/infra/setup/test_service.py:341
Function
test_ensure_opensandbox_deps_installs
(monkeypatch)
tests/unit/backend/test_opensandbox_deps.py:13
Function
test_ensure_opensandbox_deps_ready_when_importable
(monkeypatch)
tests/unit/backend/test_opensandbox_deps.py:8
Function
test_ensure_password_returns_none_when_present
(tmp_path: Path)
tests/unit/test_wizard_password.py:30
Function
test_ensure_password_writes_file_when_missing
(tmp_path: Path)
tests/unit/test_wizard_password.py:23
Function
test_ensure_preserves_existing_header
()
tests/unit/providers/test_opencode_session.py:50
Function
test_ensure_profile_writable_never_chmods_system_paths
Regression for #84: profile prep must not chmod / or /tmp.
tests/unit/browser/test_browser_setup.py:301
Function
test_ensure_profile_writable_recreates_when_not_writable
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/unit/browser/test_browser_setup.py:255
Function
test_ensure_profile_writable_relocates_root_home
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/unit/browser/test_browser_setup.py:279
Function
test_ensure_ready_when_bwrap_present
(monkeypatch: pytest.MonkeyPatch)
tests/unit/infra/utils/test_bwrap.py:31
Function
test_ensure_root_creates_dir
(tmp_path: Path)
tests/unit/test_paths.py:38
Function
test_ensure_seeded_creates_yaml
(rules_store: ToolGuardRulesStore)
tests/unit/test_tool_guard_rules_store.py:18
Function
test_ensure_skips_non_linux
(monkeypatch: pytest.MonkeyPatch)
tests/unit/infra/utils/test_docker_env.py:64
Function
test_ensure_skips_on_non_linux
(monkeypatch: pytest.MonkeyPatch)
tests/unit/infra/utils/test_bwrap.py:14
Function
test_ensure_skips_on_windows
(monkeypatch: pytest.MonkeyPatch)
tests/unit/infra/utils/test_bwrap.py:22
Function
test_ensure_thread_is_stable_and_does_not_rebind
(registry: ThreadRegistry)
tests/unit/gateway/test_thread_registry.py:296
Function
test_ensure_utf8_stdio_leaves_utf8_streams_alone
()
tests/unit/cli/test_main_encoding.py:31
Function
test_ensure_utf8_stdio_reconfigures_gbk_streams
()
tests/unit/cli/test_main_encoding.py:20
Function
test_ensure_workspace_media_host_fallback_when_abs_denied
()
tests/unit/gateway/test_backend_files.py:91
Function
test_enterprise_linux_major_version
(release: dict[str, str], expected: int | None)
tests/unit/desktop/test_setup.py:58
Function
test_entry_matches_thread_by_thread_id
()
tests/unit/api/test_chat_polish.py:168
Function
test_entry_matches_thread_does_not_match_by_prompt_title
()
tests/unit/api/test_chat_polish.py:183
Function
test_env_overrides
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_config.py:149
Function
test_env_overrides_config_file
(octop_home: Path, monkeypatch: pytest.MonkeyPatch)
tests/unit/cli/test_run_bind_resolution.py:37
Function
test_env_sqlite_path_without_database_section
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/unit/db/test_db_factory.py:106
Function
test_env_status_requires_auth
(env: Any)
tests/integration/test_browser_api.py:31
Function
test_env_status_returns_shape
(env: Any)
tests/integration/test_browser_api.py:20
Function
test_envs_crud_cycle
(env: Any)
tests/integration/test_envs_api.py:8
Function
test_envs_non_admin_forbidden
(env: Any)
tests/integration/test_envs_api.py:79
Function
test_envs_put_unsets_removed_process_keys
(env: Any)
tests/integration/test_envs_api.py:28
Function
test_envs_redacts_captcha_secret_and_put_keeps_sentinel
(env: Any)
tests/integration/test_envs_api.py:41
Function
test_error_message_zh
()
tests/unit/i18n/test_errors.py:22
Function
test_event_detail_missing_is_not_found
(env_alice_bob_agent: Any)
tests/integration/test_trajectory_api.py:272
Function
test_every_bundled_expert_declares_task_examples
()
tests/unit/agents/test_library_task_examples.py:17
Function
test_every_catalog_entry_has_category
()
tests/unit/test_connectors.py:901
Function
test_every_error_code_has_i18n_entry
()
tests/unit/i18n/test_errors.py:16
Function
test_every_retained_dashboard_event_is_committed_before_delivery
(archive)
tests/unit/gateway/test_versioned_history.py:664
Function
test_exception_display_message_empty_falls_back_to_type
()
tests/unit/i18n/test_stream.py:146
Function
test_exchange_authorization_code_uses_validated_url
()
tests/unit/connectors/test_mcp_oauth_ssrf.py:51
Function
test_exchange_device_code_builds_credentials
()
tests/unit/providers/test_codex_oauth.py:74
Function
test_exchange_login_code_is_one_shot_and_writes_audit
(service: SsoService)
tests/unit/auth/test_sso_service.py:330
Function
test_exchange_login_code_rejects_unavailable_user
(service: SsoService)
tests/unit/auth/test_sso_service.py:349
Function
test_execute_without_jail_rewrites_virtual_command_paths
Non-jail scoped shell still maps virtual absolute paths onto ``root_dir``. harness-agent 1.0 no longer delegates ``execute`` to deepagents ``
tests/integration/test_bwrap_jail.py:119
Function
test_exempt_paths
()
tests/unit/api/test_jwt_auth_middleware.py:23
Function
test_expand_default_on_fills_missing_tools
()
tests/unit/agents/test_plugin_tool_defaults.py:30
Function
test_expand_plugin_tools_default_on_without_agent_config
Octop default-on expansion makes tools bind without an agent opt-in.
tests/unit/test_plugins.py:53
Function
test_expert_agent_can_reply_after_template_copy
( live_agent_manager, live_openai_config, )
tests/live/test_agent_expert_template_live.py:233
Function
test_expert_catalog_reads_extra_roots
(tmp_path: Path)
tests/unit/agents/test_expert_catalog.py:114
Function
test_expert_discovers_seed_paths
(tmp_path: Path)
tests/unit/agents/test_expert_catalog.py:23
Function
test_expert_lazy_read_file_contents
(tmp_path: Path)
tests/unit/agents/test_expert_catalog.py:144
Function
test_expert_prompt_files_metadata_only
(tmp_path: Path)
tests/unit/agents/test_expert_catalog.py:210
Function
test_expert_quick_prompts_from_manifest
(tmp_path: Path)
tests/unit/agents/test_expert_catalog.py:254
Function
test_expert_task_examples_from_manifest
(tmp_path: Path)
tests/unit/agents/test_expert_catalog.py:286
Function
test_expert_to_chat_golden_path
Create an agent from the expert library, start it, then chat. Full flow: 1. Setup admin + provider 2. Regular user logs in 3. U
tests/integration/test_e2e_golden_path.py:108
Function
test_expired_token_raises_TokenExpired
()
tests/unit/api/test_jwt_tokens.py:25
Function
test_explicit_capability_filters_unsupported_effort
()
tests/unit/agents/test_provider_reasoning.py:49
Function
test_explicit_sqlite_overrides_postgresql_control_plane
()
tests/unit/agents/test_memory_backend.py:34
Function
test_export_and_merge_import
(tmp_path: Path)
tests/unit/backup/test_workspace_archive.py:20
Function
test_export_ignores_same_named_file_at_backend_root
A same-named file at the backend root must not shadow the workspace's own file. Regression: under ``virtual_mode`` with a scoped ``root_dir`` tha
tests/unit/backup/test_workspace_archive.py:65
Function
test_export_model_tree_writes_manifest
(monkeypatch, tmp_path: Path)
tests/unit/agents/test_onnx_download.py:380
Function
test_export_reads_legacy_root_system_dir_from_workspace
A legacy root ``skills/`` must not be shadowed by the backend root either. ``workspace.resolve_path()`` re-maps ``skills/`` under ``system_files_
tests/unit/backup/test_workspace_archive.py:125
Function
test_export_reads_remote_backend_over_stale_local_copy
A mountless backend must be read via the protocol, not from a stale local file.
tests/unit/backup/test_workspace_archive.py:170
Function
test_export_snapshot_builds_manifest_from_publish_metadata
(tmp_path: Path)
tests/unit/agents/test_expert_publish_snapshot.py:401
Function
test_export_snapshot_builds_manifest_from_publish_metadata_only
( tmp_path: Path, )
tests/unit/agents/test_expert_publish_snapshot.py:266
Function
test_export_snapshot_excludes_memory_sqlite_files
(tmp_path: Path)
tests/unit/agents/test_expert_publish_snapshot.py:231
Function
test_export_snapshot_excludes_runtime_workspace_dirs
(tmp_path: Path)
tests/unit/agents/test_expert_publish_snapshot.py:183
Function
test_export_snapshot_includes_subagent_definitions
(tmp_path: Path)
tests/unit/agents/test_expert_publish_snapshot.py:361
Function
test_export_snapshot_keeps_existing_directory_when_export_fails
( tmp_path: Path, )
tests/unit/agents/test_expert_publish_snapshot.py:156
Function
test_export_snapshot_rejects_invalid_manifest
(tmp_path: Path)
tests/unit/agents/test_expert_publish_snapshot.py:145
Function
test_export_snapshot_writes_manifest_and_seed_files
(tmp_path: Path)
tests/unit/agents/test_expert_publish_snapshot.py:83
Function
test_export_snapshot_writes_task_examples_from_metadata
(tmp_path: Path)
tests/unit/agents/test_expert_publish_snapshot.py:327
Method
test_extra_voice_id_from_config_is_used
(self, mock_mimo_http: Any)
tests/unit/api/test_voice_mimo.py:176
Function
test_extract_call_response_last_assistant
()
tests/unit/agents/test_agent_tools.py:9
Function
test_extract_config_aux_model_roundtrip
(env_with_main_agent)
tests/integration/test_memory_api.py:388
Function
test_extract_config_clamps_zero_idle_time_to_one_minute
( env_with_main_agent, )
tests/integration/test_memory_api.py:452
Function
test_extract_config_defaults_then_update
(env_with_main_agent)
tests/integration/test_memory_api.py:355
Function
test_extract_config_rejects_bad_mode
(env_with_main_agent)
tests/integration/test_memory_api.py:441
Function
test_extract_config_rejects_unusable_aux_model
(env_with_main_agent)
tests/integration/test_memory_api.py:430
Function
test_extract_feishu_credentials_from_bare_url
()
tests/unit/gateway/test_feishu_bot_creator.py:35
Function
test_extract_feishu_credentials_from_url_payload
()
tests/unit/gateway/test_feishu_bot_creator.py:15
Function
test_extract_from_write_file_args
(tmp_path: Path)
tests/unit/agents/test_thread_artifacts.py:85
Function
test_extract_png_strips_screencap_warning
()
tests/unit/mobile/test_h264.py:18
Function
test_extract_prefers_args_over_result_text
(tmp_path: Path)
tests/unit/agents/test_thread_artifacts.py:96
Function
test_extract_profile_from_config_lifts_legacy_keys
()
tests/unit/db/test_agent_profile_columns.py:18
Method
test_extract_questions
(self)
tests/unit/gateway/test_hitl_ask_user.py:106
Method
test_extract_questions_ignores_malformed
(self)
tests/unit/gateway/test_hitl_ask_user.py:111
Function
test_extract_raw_rgba_skips_warning_prefix
()
tests/unit/mobile/test_h264.py:26
Function
test_extract_screenshot_from_tool_result_text
(tmp_path: Path)
tests/unit/agents/test_thread_artifacts.py:107
Function
test_extract_snapshot_sums_current_turn_not_last_call
()
tests/unit/gateway/test_usage_record.py:92
Function
test_extract_usage_from_chunk_direct
()
tests/integration/test_usage_api.py:539
Function
test_extract_usage_from_state_snapshot_dict_message
()
tests/integration/test_usage_api.py:551
Function
test_extract_usage_from_state_snapshot_sums_turn_calls
()
tests/integration/test_usage_api.py:672
Function
test_extract_usage_returns_none_when_absent
()
tests/integration/test_usage_api.py:699
Function
test_extract_winsize_helper_packs_in_correct_order
``_set_winsize`` packs (rows, cols, x_pixels, y_pixels) — verify the pack order matches what ioctl(TIOCSWINSZ) expects, since getting it wrong
tests/integration/test_terminal_ws.py:32
Function
test_extract_workspace_rel_handles_backslashes
()
tests/unit/gateway/test_backend_files.py:21
Function
test_extract_zip_rejects_unrepairable_skill_md
(tmp_path: Path)
tests/unit/agents/test_skillhub_market.py:465
Function
test_extract_zip_repairs_invalid_utf8_skill_md
(tmp_path: Path)
tests/unit/agents/test_skillhub_market.py:450
Function
test_failed_document_write_rolls_back_bodies
(archive)
tests/unit/gateway/test_versioned_history.py:248
Function
test_failed_replace_leaves_original_intact_and_cleans_temp
A torn write must not be observable: the old file survives byte-for-byte.
tests/unit/infra/utils/test_json_file.py:67
Function
test_fallback_catalog_ids_stay_loadable_by_fastembed
The deps-missing catalog must be a subset of what fastembed can load. Otherwise a user picks a model while the extra is absent, the click ins
tests/unit/agents/test_onnx_service.py:381
← previous
next →
10,001–10,100 of 12,485, ranked by callers