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_artifacts_for_response_upgrades_legacy_relative_paths
(tmp_path: Path)
tests/unit/agents/test_thread_artifacts.py:71
Function
test_as_user_still_requires_admin
Cross-user impersonation must not become a module permission.
tests/unit/api/test_acl_gate_coverage.py:78
Function
test_ascii_filename
()
tests/unit/api/test_content_disposition.py:10
Method
test_ask_actions_detected
(self)
tests/unit/gateway/test_hitl_ask_user.py:97
Function
test_ask_agent_schema_includes_mode
()
tests/unit/agents/test_agent_tools.py:25
Method
test_ask_card_shows_header
(self)
tests/unit/gateway/test_hitl_ask_user.py:124
Function
test_assert_backend_supports_skill_packages_accepts_host_root
( manager: AgentManager, )
tests/unit/agents/test_agent_skill_packages.py:100
Function
test_assert_backend_supports_skill_packages_accepts_workspace_scoped_default
Windows default scopes root_dir to the agent workspace — still local host.
tests/unit/agents/test_agent_skill_packages.py:108
Function
test_assert_backend_supports_skill_packages_rejects_non_host_root
( manager: AgentManager, )
tests/unit/agents/test_agent_skill_packages.py:90
Function
test_assert_backend_within_user_root
(tmp_path: Path)
tests/unit/users/test_resource_policy.py:68
Function
test_assert_can_mutate_allows_creator_and_admin_only
( store: SkillPackageStore, )
tests/unit/agents/test_skill_package_store.py:196
Function
test_assert_catalog_rejects_unknown_and_path_tricks
()
tests/unit/agents/test_onnx_service.py:201
Function
test_assert_knowledge_usable_distinguishes_disabled_from_prerequisites
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/knowledge/test_gate.py:77
Function
test_assert_safe_host_path_allows_root_when_home
Octop running as uid 0 uses /root as home; default root_dir must probe OK.
tests/unit/infra/utils/test_host_dirs.py:87
Function
test_assert_safe_host_path_rejects_etc
()
tests/unit/infra/utils/test_host_dirs.py:59
Function
test_assert_safe_host_path_rejects_private_etc_symlink
macOS resolves /etc → /private/etc; denial must still apply.
tests/unit/infra/utils/test_host_dirs.py:65
Function
test_assert_safe_host_path_rejects_proc
()
tests/unit/infra/utils/test_host_dirs.py:53
Function
test_assert_safe_host_path_rejects_root
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/unit/infra/utils/test_host_dirs.py:75
Function
test_assert_safe_host_path_restrict_to_home
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/unit/infra/utils/test_host_dirs.py:206
Function
test_assert_safe_host_path_restrict_to_root
(tmp_path: Path)
tests/unit/infra/utils/test_host_dirs.py:241
Function
test_assert_token_quota_available
(db: SqlitePool)
tests/unit/users/test_resource_policy.py:91
Function
test_attach_log_handler_is_idempotent
(tmp_path: Path)
tests/unit/test_logging.py:94
Function
test_attachment_frame_uses_workspace_download_url
()
tests/unit/gateway/test_tool_media.py:171
Function
test_attachment_frame_virtual_mode_uses_download_url
()
tests/unit/gateway/test_tool_media.py:120
Function
test_audit_write_and_query
(audit: AuditRepo)
tests/unit/db/test_repo_secret_audit.py:53
Function
test_auth_info
(env)
tests/integration/test_connectors_api.py:363
Function
test_authenticate_by_email
(manager: UserManager)
tests/unit/test_user_manager.py:62
Function
test_authenticate_disabled_returns_none
(manager: UserManager)
tests/unit/test_user_manager.py:357
Function
test_authenticate_locks_after_max_failures
(manager: UserManager)
tests/unit/test_user_manager.py:327
Function
test_authenticate_prefers_username_over_email
(manager: UserManager)
tests/unit/test_user_manager.py:74
Function
test_authenticate_rejects_null_password_hash
(manager: UserManager)
tests/unit/test_user_manager.py:120
Function
test_authenticate_success
(manager: UserManager)
tests/unit/test_user_manager.py:55
Function
test_authenticate_wrong_password
(manager: UserManager)
tests/unit/test_user_manager.py:115
Function
test_auto_install_missing_script_reports_error
()
tests/unit/mobile/test_docker_install.py:306
Function
test_auto_install_script_failure_emits_friendly_hint
()
tests/unit/mobile/test_docker_install.py:316
Function
test_auto_scope_root_always_system
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/infra/setup/test_service.py:764
Function
test_av_mime_prefixes_are_accepted
()
tests/unit/api/test_attachments.py:133
Function
test_avcc_and_codec_string
()
tests/unit/mobile/test_h264.py:62
Function
test_awrap_model_call_expands_workspace_image_ref
()
tests/unit/agents/test_workspace_image_middleware.py:23
Function
test_backend_spec_for_row_neutralizes_host_root_on_windows
( manager: AgentManager, monkeypatch: Any )
tests/unit/agents/test_agent_manager.py:659
Function
test_backend_spec_supports_execution
()
tests/unit/test_storage_spec.py:68
Function
test_backend_supports_host_skill_packages_accepts_workspace_root
( manager: AgentManager, tmp_path: Path, )
tests/unit/agents/test_agent_skill_packages.py:125
Function
test_backfill_queue_runs_one_job_at_a_time_and_dedupes
()
tests/unit/gateway/test_history_projection.py:146
Function
test_backfill_requeues_thread_when_agent_became_busy
()
tests/unit/api/test_chat_history.py:383
Function
test_background_ensure_swallows_failures
(monkeypatch: pytest.MonkeyPatch)
tests/unit/test_launch_bwrap.py:63
Function
test_backup_can_include_skill_packages_and_plugins_without_workspaces
( layout: PathLayout, tmp_path: Path )
tests/unit/backup/test_system_archive.py:586
Function
test_backup_can_omit_config_and_workspaces
(layout: PathLayout, tmp_path: Path)
tests/unit/backup/test_system_archive.py:548
Function
test_backup_config_from_payload_reads_content_options
()
tests/unit/backup/test_auto.py:42
Function
test_backup_config_from_payload_rejects_bad_retention
()
tests/unit/backup/test_auto.py:37
Function
test_backup_config_from_payload_rejects_bad_schedule
()
tests/unit/backup/test_auto.py:32
Function
test_backup_env_overrides
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_config.py:75
Function
test_backup_includes_archive_and_restore_refuses_partial_overwrite
(archive, tmp_path)
tests/unit/gateway/test_versioned_history.py:329
Function
test_backup_packs_config_workspace_dir
(layout: PathLayout, tmp_path: Path)
tests/unit/backup/test_system_archive.py:140
Function
test_backup_skips_junk_directories
(layout: PathLayout, tmp_path: Path)
tests/unit/backup/test_system_archive.py:206
Function
test_backup_skips_unwritable_workspace_dir
Stale host paths (e.g. former /root/.octop/agents/…) must not abort backup.
tests/unit/backup/test_system_archive.py:169
Function
test_backup_status_reports_idle_and_busy
()
tests/unit/api/test_backup_restore_rehydrate.py:212
Function
test_backups_dir
(tmp_path: Path)
tests/unit/test_paths.py:52
Function
test_backups_dir_paths
(tmp_path: Path)
tests/unit/backup/test_store.py:25
Function
test_bad_input_never_raises
()
tests/unit/trajectory/test_projector.py:203
Function
test_bad_json_fails
(siteverify: tuple[str, type[_Siteverify]])
tests/unit/auth/test_captcha_verify.py:122
Function
test_baidu_map_search_place_requires_region
()
tests/unit/test_connectors.py:1015
Function
test_base_payload_includes_owner_display_fields
()
tests/unit/api/test_knowledge_bases.py:239
Function
test_baseline_is_settings_group
()
tests/unit/users/test_permissions.py:46
Function
test_begin_issues_token_when_password_not_required
(tmp_octop_home: Path)
tests/integration/test_setup_wizard.py:125
Function
test_bge_small_zh_infers_hf_repo_without_fastembed
(monkeypatch)
tests/unit/agents/test_onnx_download.py:28
Function
test_bind_multiple_sso_identities_on_same_user
(manager: UserManager)
tests/unit/test_user_manager.py:279
Function
test_bind_sso_identity_links_current_user_and_rejects_taken_identity
( manager: UserManager, )
tests/unit/test_user_manager.py:238
Function
test_block_to_content_part_base64_image
()
tests/unit/gateway/test_message_build.py:93
Function
test_blocks_inbound_pdf
()
tests/unit/agents/test_binary_read_guard.py:8
Function
test_blocks_pdf_anywhere
()
tests/unit/agents/test_binary_read_guard.py:19
Function
test_boot_empty
Boot with no cron jobs should succeed silently.
tests/unit/cron/test_cron_manager_global.py:27
Function
test_boot_empty_db
boot() on empty DB completes without error; no agents registered.
tests/unit/agents/test_agent_registry.py:106
Function
test_boot_loads_existing_users
(tmp_path: Path)
tests/unit/test_user_manager.py:435
Function
test_boot_loads_users
UserManager.boot() loads user identity objects (agents are now global).
tests/unit/test_user_manager.py:450
Function
test_boot_passes_process_log_dir_to_harness_manager
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:264
Function
test_boot_registers_provider_from_db
(live_agent_manager, live_openai_config)
tests/live/test_agent_manager_live.py:21
Function
test_boot_schedules_enabled_jobs
boot() calls scheduler.add_job() for every enabled cron row.
tests/unit/cron/test_cron_manager.py:120
Function
test_boot_self_heal_generates_when_no_users
(tmp_path: Path)
tests/unit/test_wizard_password.py:55
Function
test_boot_self_heal_keeps_file_when_users_exist
(tmp_path: Path)
tests/unit/test_wizard_password.py:69
Function
test_boot_self_heal_no_op_when_users_exist_and_no_file
(tmp_path: Path)
tests/unit/test_wizard_password.py:76
Function
test_boot_self_heal_redisplays_existing_password_with_no_users
(tmp_path: Path)
tests/unit/test_wizard_password.py:61
Function
test_boot_skips_disabled_agents
boot() must not start agents that have enabled=0.
tests/unit/agents/test_agent_registry.py:134
Function
test_boot_skips_disabled_jobs
boot() must not schedule jobs that have enabled=0.
tests/unit/cron/test_cron_manager.py:143
Function
test_boot_starts_pre_existing_agents
boot() starts every enabled agent row that already exists in the DB.
tests/unit/agents/test_agent_registry.py:118
Function
test_boot_starts_scheduler
boot() calls scheduler.start().
tests/unit/cron/test_cron_manager.py:109
Function
test_boot_then_stop_idempotent
(tmp_octop_home: Path)
tests/integration/test_server_lifecycle.py:60
Function
test_bootstrap_complete_defers_graph_refresh
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:338
Function
test_bootstrap_creates_default_main_agent
(patched_app_client: Any)
tests/integration/test_setup_bootstrap.py:28
Function
test_bootstrap_creates_general_assistant
( catalog: ExpertCatalog, _isolated_user_home: Path, )
tests/unit/agents/test_default_agent.py:53
Function
test_bootstrap_main_spec_en_locale_uses_english_label
()
tests/unit/api/test_setup_main_agent.py:15
Function
test_bootstrap_main_uses_home_backend
( catalog: ExpertCatalog, _isolated_user_home: Path, )
tests/unit/agents/test_default_agent.py:74
Function
test_bootstrap_pending_detects_unfinished_onboarding
(tmp_path: Path)
tests/unit/agents/test_agent_manager.py:636
Function
test_bootstrap_prepends_interpreter_dir_to_path
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, parent_path: str | None, )
tests/unit/test_green_launch.py:25
Function
test_bootstrap_requires_catalog
()
tests/unit/agents/test_default_agent.py:95
Function
test_bootstrap_skips_when_main_exists
(catalog: ExpertCatalog)
tests/unit/agents/test_default_agent.py:37
Function
test_bootstrap_skips_when_user_has_agents
(catalog: ExpertCatalog)
tests/unit/agents/test_default_agent.py:27
Function
test_brave_ok
(monkeypatch: pytest.MonkeyPatch)
tests/unit/utils/test_search_probe.py:77
Function
test_browse_skillsets_filters_by_scene
(monkeypatch)
tests/unit/agents/test_skillhub_market.py:327
Function
test_browser_and_missing_row_stay_offline
(monkeypatch: pytest.MonkeyPatch)
tests/unit/test_voice_stt_probe.py:73
Function
test_browser_idle_timeout_defaults_and_can_be_disabled
(tmp_path: Path)
tests/unit/test_config.py:161
← previous
next →
9,201–9,300 of 12,485, ranked by callers