MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

Functiontest_artifacts_for_response_upgrades_legacy_relative_paths
(tmp_path: Path)
tests/unit/agents/test_thread_artifacts.py:71
Functiontest_as_user_still_requires_admin
Cross-user impersonation must not become a module permission.
tests/unit/api/test_acl_gate_coverage.py:78
Functiontest_ascii_filename
()
tests/unit/api/test_content_disposition.py:10
Methodtest_ask_actions_detected
(self)
tests/unit/gateway/test_hitl_ask_user.py:97
Functiontest_ask_agent_schema_includes_mode
()
tests/unit/agents/test_agent_tools.py:25
Methodtest_ask_card_shows_header
(self)
tests/unit/gateway/test_hitl_ask_user.py:124
Functiontest_assert_backend_supports_skill_packages_accepts_host_root
( manager: AgentManager, )
tests/unit/agents/test_agent_skill_packages.py:100
Functiontest_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
Functiontest_assert_backend_supports_skill_packages_rejects_non_host_root
( manager: AgentManager, )
tests/unit/agents/test_agent_skill_packages.py:90
Functiontest_assert_backend_within_user_root
(tmp_path: Path)
tests/unit/users/test_resource_policy.py:68
Functiontest_assert_can_mutate_allows_creator_and_admin_only
( store: SkillPackageStore, )
tests/unit/agents/test_skill_package_store.py:196
Functiontest_assert_catalog_rejects_unknown_and_path_tricks
()
tests/unit/agents/test_onnx_service.py:201
Functiontest_assert_knowledge_usable_distinguishes_disabled_from_prerequisites
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/knowledge/test_gate.py:77
Functiontest_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
Functiontest_assert_safe_host_path_rejects_etc
()
tests/unit/infra/utils/test_host_dirs.py:59
Functiontest_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
Functiontest_assert_safe_host_path_rejects_proc
()
tests/unit/infra/utils/test_host_dirs.py:53
Functiontest_assert_safe_host_path_rejects_root
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/unit/infra/utils/test_host_dirs.py:75
Functiontest_assert_safe_host_path_restrict_to_home
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/unit/infra/utils/test_host_dirs.py:206
Functiontest_assert_safe_host_path_restrict_to_root
(tmp_path: Path)
tests/unit/infra/utils/test_host_dirs.py:241
Functiontest_assert_token_quota_available
(db: SqlitePool)
tests/unit/users/test_resource_policy.py:91
Functiontest_attach_log_handler_is_idempotent
(tmp_path: Path)
tests/unit/test_logging.py:94
Functiontest_attachment_frame_uses_workspace_download_url
()
tests/unit/gateway/test_tool_media.py:171
Functiontest_attachment_frame_virtual_mode_uses_download_url
()
tests/unit/gateway/test_tool_media.py:120
Functiontest_audit_write_and_query
(audit: AuditRepo)
tests/unit/db/test_repo_secret_audit.py:53
Functiontest_auth_info
(env)
tests/integration/test_connectors_api.py:363
Functiontest_authenticate_by_email
(manager: UserManager)
tests/unit/test_user_manager.py:62
Functiontest_authenticate_disabled_returns_none
(manager: UserManager)
tests/unit/test_user_manager.py:357
Functiontest_authenticate_locks_after_max_failures
(manager: UserManager)
tests/unit/test_user_manager.py:327
Functiontest_authenticate_prefers_username_over_email
(manager: UserManager)
tests/unit/test_user_manager.py:74
Functiontest_authenticate_rejects_null_password_hash
(manager: UserManager)
tests/unit/test_user_manager.py:120
Functiontest_authenticate_success
(manager: UserManager)
tests/unit/test_user_manager.py:55
Functiontest_authenticate_wrong_password
(manager: UserManager)
tests/unit/test_user_manager.py:115
Functiontest_auto_install_missing_script_reports_error
()
tests/unit/mobile/test_docker_install.py:306
Functiontest_auto_install_script_failure_emits_friendly_hint
()
tests/unit/mobile/test_docker_install.py:316
Functiontest_auto_scope_root_always_system
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/infra/setup/test_service.py:764
Functiontest_av_mime_prefixes_are_accepted
()
tests/unit/api/test_attachments.py:133
Functiontest_avcc_and_codec_string
()
tests/unit/mobile/test_h264.py:62
Functiontest_awrap_model_call_expands_workspace_image_ref
()
tests/unit/agents/test_workspace_image_middleware.py:23
Functiontest_backend_spec_for_row_neutralizes_host_root_on_windows
( manager: AgentManager, monkeypatch: Any )
tests/unit/agents/test_agent_manager.py:659
Functiontest_backend_spec_supports_execution
()
tests/unit/test_storage_spec.py:68
Functiontest_backend_supports_host_skill_packages_accepts_workspace_root
( manager: AgentManager, tmp_path: Path, )
tests/unit/agents/test_agent_skill_packages.py:125
Functiontest_backfill_queue_runs_one_job_at_a_time_and_dedupes
()
tests/unit/gateway/test_history_projection.py:146
Functiontest_backfill_requeues_thread_when_agent_became_busy
()
tests/unit/api/test_chat_history.py:383
Functiontest_background_ensure_swallows_failures
(monkeypatch: pytest.MonkeyPatch)
tests/unit/test_launch_bwrap.py:63
Functiontest_backup_can_include_skill_packages_and_plugins_without_workspaces
( layout: PathLayout, tmp_path: Path )
tests/unit/backup/test_system_archive.py:586
Functiontest_backup_can_omit_config_and_workspaces
(layout: PathLayout, tmp_path: Path)
tests/unit/backup/test_system_archive.py:548
Functiontest_backup_config_from_payload_reads_content_options
()
tests/unit/backup/test_auto.py:42
Functiontest_backup_config_from_payload_rejects_bad_retention
()
tests/unit/backup/test_auto.py:37
Functiontest_backup_config_from_payload_rejects_bad_schedule
()
tests/unit/backup/test_auto.py:32
Functiontest_backup_env_overrides
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/unit/test_config.py:75
Functiontest_backup_includes_archive_and_restore_refuses_partial_overwrite
(archive, tmp_path)
tests/unit/gateway/test_versioned_history.py:329
Functiontest_backup_packs_config_workspace_dir
(layout: PathLayout, tmp_path: Path)
tests/unit/backup/test_system_archive.py:140
Functiontest_backup_skips_junk_directories
(layout: PathLayout, tmp_path: Path)
tests/unit/backup/test_system_archive.py:206
Functiontest_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
Functiontest_backup_status_reports_idle_and_busy
()
tests/unit/api/test_backup_restore_rehydrate.py:212
Functiontest_backups_dir
(tmp_path: Path)
tests/unit/test_paths.py:52
Functiontest_backups_dir_paths
(tmp_path: Path)
tests/unit/backup/test_store.py:25
Functiontest_bad_input_never_raises
()
tests/unit/trajectory/test_projector.py:203
Functiontest_bad_json_fails
(siteverify: tuple[str, type[_Siteverify]])
tests/unit/auth/test_captcha_verify.py:122
Functiontest_baidu_map_search_place_requires_region
()
tests/unit/test_connectors.py:1015
Functiontest_base_payload_includes_owner_display_fields
()
tests/unit/api/test_knowledge_bases.py:239
Functiontest_baseline_is_settings_group
()
tests/unit/users/test_permissions.py:46
Functiontest_begin_issues_token_when_password_not_required
(tmp_octop_home: Path)
tests/integration/test_setup_wizard.py:125
Functiontest_bge_small_zh_infers_hf_repo_without_fastembed
(monkeypatch)
tests/unit/agents/test_onnx_download.py:28
Functiontest_bind_multiple_sso_identities_on_same_user
(manager: UserManager)
tests/unit/test_user_manager.py:279
Functiontest_bind_sso_identity_links_current_user_and_rejects_taken_identity
( manager: UserManager, )
tests/unit/test_user_manager.py:238
Functiontest_block_to_content_part_base64_image
()
tests/unit/gateway/test_message_build.py:93
Functiontest_blocks_inbound_pdf
()
tests/unit/agents/test_binary_read_guard.py:8
Functiontest_blocks_pdf_anywhere
()
tests/unit/agents/test_binary_read_guard.py:19
Functiontest_boot_empty
Boot with no cron jobs should succeed silently.
tests/unit/cron/test_cron_manager_global.py:27
Functiontest_boot_empty_db
boot() on empty DB completes without error; no agents registered.
tests/unit/agents/test_agent_registry.py:106
Functiontest_boot_loads_existing_users
(tmp_path: Path)
tests/unit/test_user_manager.py:435
Functiontest_boot_loads_users
UserManager.boot() loads user identity objects (agents are now global).
tests/unit/test_user_manager.py:450
Functiontest_boot_passes_process_log_dir_to_harness_manager
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:264
Functiontest_boot_registers_provider_from_db
(live_agent_manager, live_openai_config)
tests/live/test_agent_manager_live.py:21
Functiontest_boot_schedules_enabled_jobs
boot() calls scheduler.add_job() for every enabled cron row.
tests/unit/cron/test_cron_manager.py:120
Functiontest_boot_self_heal_generates_when_no_users
(tmp_path: Path)
tests/unit/test_wizard_password.py:55
Functiontest_boot_self_heal_keeps_file_when_users_exist
(tmp_path: Path)
tests/unit/test_wizard_password.py:69
Functiontest_boot_self_heal_no_op_when_users_exist_and_no_file
(tmp_path: Path)
tests/unit/test_wizard_password.py:76
Functiontest_boot_self_heal_redisplays_existing_password_with_no_users
(tmp_path: Path)
tests/unit/test_wizard_password.py:61
Functiontest_boot_skips_disabled_agents
boot() must not start agents that have enabled=0.
tests/unit/agents/test_agent_registry.py:134
Functiontest_boot_skips_disabled_jobs
boot() must not schedule jobs that have enabled=0.
tests/unit/cron/test_cron_manager.py:143
Functiontest_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
Functiontest_boot_starts_scheduler
boot() calls scheduler.start().
tests/unit/cron/test_cron_manager.py:109
Functiontest_boot_then_stop_idempotent
(tmp_octop_home: Path)
tests/integration/test_server_lifecycle.py:60
Functiontest_bootstrap_complete_defers_graph_refresh
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:338
Functiontest_bootstrap_creates_default_main_agent
(patched_app_client: Any)
tests/integration/test_setup_bootstrap.py:28
Functiontest_bootstrap_creates_general_assistant
( catalog: ExpertCatalog, _isolated_user_home: Path, )
tests/unit/agents/test_default_agent.py:53
Functiontest_bootstrap_main_spec_en_locale_uses_english_label
()
tests/unit/api/test_setup_main_agent.py:15
Functiontest_bootstrap_main_uses_home_backend
( catalog: ExpertCatalog, _isolated_user_home: Path, )
tests/unit/agents/test_default_agent.py:74
Functiontest_bootstrap_pending_detects_unfinished_onboarding
(tmp_path: Path)
tests/unit/agents/test_agent_manager.py:636
Functiontest_bootstrap_prepends_interpreter_dir_to_path
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, parent_path: str | None, )
tests/unit/test_green_launch.py:25
Functiontest_bootstrap_requires_catalog
()
tests/unit/agents/test_default_agent.py:95
Functiontest_bootstrap_skips_when_main_exists
(catalog: ExpertCatalog)
tests/unit/agents/test_default_agent.py:37
Functiontest_bootstrap_skips_when_user_has_agents
(catalog: ExpertCatalog)
tests/unit/agents/test_default_agent.py:27
Functiontest_brave_ok
(monkeypatch: pytest.MonkeyPatch)
tests/unit/utils/test_search_probe.py:77
Functiontest_browse_skillsets_filters_by_scene
(monkeypatch)
tests/unit/agents/test_skillhub_market.py:327
Functiontest_browser_and_missing_row_stay_offline
(monkeypatch: pytest.MonkeyPatch)
tests/unit/test_voice_stt_probe.py:73
Functiontest_browser_idle_timeout_defaults_and_can_be_disabled
(tmp_path: Path)
tests/unit/test_config.py:161
← previousnext →9,201–9,300 of 12,485, ranked by callers