MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

Functiontest_resolve_venv_python_prefers_octop_home
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
tests/unit/cli/test_update_cmd.py:138
Functiontest_resolve_workspace_dir_backfills_legacy_row
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:1075
Functiontest_resolve_workspace_dir_uses_persisted_path
(manager: AgentManager, tmp_path: Path)
tests/unit/agents/test_agent_manager.py:1063
Functiontest_resolve_yesterday_local
()
tests/unit/db/test_usage_window.py:45
Methodtest_resolved_pending_not_routed
(self)
tests/unit/gateway/test_hitl_ask_user.py:254
Methodtest_resolves_ask_pending
(self)
tests/unit/gateway/test_hitl_ask_user.py:218
Methodtest_respond
(self)
tests/unit/api/test_hitl_resume_validation.py:25
Methodtest_respond_on_approval_tool_rejected
(self)
tests/unit/gateway/test_hitl_ask_user.py:319
Methodtest_respond_on_ask_tool_accepted
(self)
tests/unit/gateway/test_hitl_ask_user.py:314
Methodtest_respond_with_blank_message
(self)
tests/unit/api/test_hitl_resume_validation.py:56
Methodtest_respond_without_message
(self)
tests/unit/api/test_hitl_resume_validation.py:52
Functiontest_response_mode_defaults_to_invoke_and_accepts_stream
()
tests/unit/gateway/test_response_mode.py:107
Functiontest_restart_endpoint_desktop_schedules_process_exec
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/api/test_update_router.py:134
Functiontest_restart_endpoint_rejects_when_service_not_installed
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/api/test_update_router.py:102
Functiontest_restart_endpoint_schedules_background_restart
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/api/test_update_router.py:67
Functiontest_restart_keeps_committed_partial_content
(archive)
tests/unit/gateway/test_versioned_history.py:281
Functiontest_restart_service_refreshes_unit
(monkeypatch: pytest.MonkeyPatch, tmp_path: Path)
tests/unit/infra/setup/test_service.py:269
Functiontest_restart_service_requires_install
(tmp_path: Path)
tests/unit/infra/setup/test_service.py:380
Functiontest_restart_service_still_restarts_when_install_fails
Remote upgrades only `restart`; drop-in/sudo failures must not leave the process down.
tests/unit/infra/setup/test_service.py:300
Functiontest_restart_service_waits_for_startup
restart must apply the same startup grace as start, otherwise the health probe races the new process.
tests/unit/infra/setup/test_service.py:654
Functiontest_restore_backup_file_rehydrates_providers_channels_and_cron
After restore, sync providers/agents, channels, and cron without process restart.
tests/unit/api/test_backup_restore_rehydrate.py:17
Functiontest_restore_backup_file_skips_rehydrate_without_runtime
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/api/test_backup_restore_rehydrate.py:66
Functiontest_restore_backup_rejects_when_lock_held
(monkeypatch: pytest.MonkeyPatch)
tests/unit/api/test_backup_restore_rehydrate.py:195
Functiontest_restore_repairs_old_physical_schema_with_current_watermark
Restore runs idempotent repairs when a folded migration number is unchanged.
tests/unit/backup/test_system_archive.py:1128
Functiontest_restore_replaces_stale_knowledge_files
(layout: PathLayout, tmp_path: Path)
tests/unit/backup/test_system_archive.py:741
Functiontest_restore_replaces_stale_plugin_files
(layout: PathLayout, tmp_path: Path)
tests/unit/backup/test_system_archive.py:690
Functiontest_restore_replaces_stale_skill_package_files
(layout: PathLayout, tmp_path: Path)
tests/unit/backup/test_system_archive.py:794
Functiontest_restore_skips_chat_workspace_files_when_manifest_omits_chats
( tmp_path: Path, )
tests/unit/backup/test_system_archive.py:434
Functiontest_restore_without_chats_remaps_user_ids_by_username
(tmp_path: Path)
tests/unit/backup/test_system_archive.py:350
Functiontest_restore_without_skill_packages_keeps_live_files
( layout: PathLayout, tmp_path: Path )
tests/unit/backup/test_system_archive.py:635
Functiontest_resume_pending_index_jobs_resets_processing_and_enqueues
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/unit/knowledge/test_jobs.py:172
Functiontest_resume_picks_previous
(dispatcher, ctx)
tests/unit/gateway/test_slash_dispatcher.py:168
Functiontest_resume_wizard_after_admin_created
(env: Any)
tests/integration/test_setup_wizard.py:258
Functiontest_retrieve_context_filters_unreadable_knowledge_base
(tmp_path, monkeypatch)
tests/unit/knowledge/test_retrieve.py:18
Functiontest_retrieve_context_skips_empty_non_text_turn
()
tests/unit/knowledge/test_retrieve.py:70
Functiontest_returns_refreshed_skill_count_for_multiple_skills
(store: SkillPackageStore)
tests/unit/skills/test_skill_package_from_skillhub.py:90
Functiontest_revised_state_message_keeps_latest_tool_metadata
(archive)
tests/unit/gateway/test_versioned_history.py:440
Functiontest_right_mousedown_uses_right_button_mask
()
tests/unit/api/test_browser_stream_mouse.py:131
Functiontest_role_values
()
tests/unit/test_identity.py:10
Functiontest_rollback_adds_legacy_interval_without_losing_v2
(archive)
tests/unit/gateway/test_versioned_history.py:187
Functiontest_root_help_does_not_import_subcommand_modules
`octop --help` must not import individual command modules eagerly.
tests/unit/test_cli_main.py:167
Functiontest_root_help_lists_global_options
Plan §13.1 mandates root-level --user / --agent / --json options.
tests/unit/test_cli_main.py:70
Functiontest_root_help_lists_groups
()
tests/unit/test_cli_main.py:10
Functiontest_root_listing_entry_keeps_basename_only
()
tests/unit/api/test_workspace_tree_entries.py:8
Functiontest_root_paths
(tmp_path: Path)
tests/unit/test_paths.py:10
Functiontest_root_serves_dashboard_index
(tmp_octop_home: Path)
tests/integration/test_dashboard_serve.py:15
Functiontest_root_version_flag
()
tests/unit/cli/test_version_cmd.py:24
Functiontest_round_trip_preserves_structure
()
tests/unit/utils/test_doc_edit.py:99
Functiontest_roundtrip_backup
(layout: PathLayout, tmp_path: Path)
tests/unit/backup/test_system_archive.py:62
Functiontest_router_is_mounted
Smoke: ``/agents/{aid}/terminal/ws`` is in the FastAPI route table.
tests/integration/test_terminal_ws.py:23
Functiontest_row_for_probe_merges_secrets_from_base
()
tests/unit/test_storage_browse.py:35
Functiontest_row_for_probe_overrides_secrets_when_provided
()
tests/unit/test_storage_browse.py:53
Functiontest_row_payload_includes_has_original
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/unit/api/test_knowledge_bases.py:340
Functiontest_row_to_backend_spec_docker
()
tests/unit/test_storage_spec.py:122
Functiontest_row_to_backend_spec_opensandbox
()
tests/unit/test_storage_spec.py:92
Functiontest_run_cli_args_override_config
Explicit CLI flags take precedence over config.json.
tests/unit/cli/test_run_cmd.py:83
Functiontest_run_cli_on_corrupt_config_refuses_and_preserves_file
POC regression: ``octop run --port`` used to wipe config.json to one key.
tests/unit/cli/test_run_bind_resolution.py:112
Functiontest_run_dispatches_to_uvicorn
(monkeypatch: pytest.MonkeyPatch)
tests/unit/cli/test_run_cmd.py:33
Functiontest_run_does_not_overwrite_corrupt_config
A corrupt config.json is preserved byte-for-byte, never rewritten as empty. Supersedes the old "treat a malformed file as empty so the next run r
tests/unit/cli/test_run_cmd.py:225
Functiontest_run_help_lists_finnie_aligned_flags
()
tests/unit/cli/test_run_cmd.py:16
Functiontest_run_merges_with_existing_config
Saving host/port must not clobber unrelated keys in config.json.
tests/unit/cli/test_run_cmd.py:165
Functiontest_run_migrations_creates_tables
(db: SqlitePool)
tests/unit/db/test_db_pool.py:36
Functiontest_run_migrations_idempotent
(db: SqlitePool)
tests/unit/db/test_db_pool.py:74
Functiontest_run_now_fires_job
run_now() schedules an immediate async task via ensure_future.
tests/unit/cron/test_cron_manager.py:612
Functiontest_run_now_raises_for_unknown
(tmp_path: Path)
tests/unit/cron/test_cron_manager.py:601
Functiontest_run_now_records_last_status
Run-now should invoke the cron manager and the job's repo update leaves ``last_status`` set.
tests/integration/test_cron_api.py:145
Functiontest_run_now_unknown_cron_returns_404
(env: Any)
tests/integration/test_cron_api.py:251
Functiontest_run_passes_delivery_command
(setup)
tests/unit/cron/test_cron_job.py:106
Functiontest_run_port_zero_not_overridden_by_config
``port=0`` (OS-assigned random port) must reach uvicorn unchanged.
tests/unit/cli/test_run_cmd.py:253
Functiontest_run_reads_host_port_from_config_by_default
`octop run` with no args should fall back to config.json values.
tests/unit/cli/test_run_cmd.py:55
Functiontest_run_reads_legacy_host_key_for_compatibility
Old config.json with 'host' key must still be read (backward compat).
tests/unit/cli/test_run_cmd.py:278
Functiontest_run_records_error_on_failure
(setup)
tests/unit/cron/test_cron_job.py:136
Functiontest_run_records_ok
(setup)
tests/unit/cron/test_cron_job.py:86
Functiontest_run_reports_corrupt_config_cleanly
A malformed config.json must fail cleanly, not with a traceback (#730). The command cannot guess the ~18 settings the file holds, and boot would
tests/unit/cli/test_run_cmd.py:195
Functiontest_run_skillhub_cmd_timeout_kills_process
Timeout must kill+drain the child so transports close on a live loop.
tests/unit/test_skills_hub_errors.py:81
Functiontest_run_writes_config_before_uvicorn_starts
Config is persisted immediately when --host/--port are provided.
tests/unit/cli/test_run_cmd.py:106
Functiontest_run_writes_config_even_on_uvicorn_failure
Config is persisted before uvicorn starts, so a crash does not lose it.
tests/unit/cli/test_run_cmd.py:140
Functiontest_running_in_container_detects_dockerenv
(monkeypatch: pytest.MonkeyPatch)
tests/unit/infra/utils/test_host_dirs.py:278
Functiontest_running_in_container_env_override
(monkeypatch: pytest.MonkeyPatch)
tests/unit/infra/utils/test_host_dirs.py:266
Functiontest_safe_request_blocks_internal_ip
()
tests/unit/connectors/test_mcp_oauth_ssrf.py:89
Functiontest_same_channel_id_does_not_rewrite_session
(registry: ThreadRegistry)
tests/unit/gateway/test_thread_registry.py:235
Functiontest_same_connector_kind_supports_multiple_named_instances
(env)
tests/integration/test_connectors_api.py:110
Functiontest_sanitize_ascii_name_passthrough
()
tests/unit/test_plugins.py:108
Functiontest_sanitize_chinese_name_transliterates_to_pinyin
()
tests/unit/test_plugins.py:115
Functiontest_sanitize_collision_gets_suffix
()
tests/unit/test_plugins.py:128
Functiontest_sanitize_falls_back_to_underscores_without_pypinyin
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/test_plugins.py:143
Functiontest_sanitize_im_metadata_persists_weixin_routing
()
tests/unit/gateway/test_message_keys.py:82
Functiontest_sanitize_im_metadata_persists_xiaoyi_routing
()
tests/unit/gateway/test_message_keys.py:64
Functiontest_sanitize_inbound_filename_keeps_cjk
()
tests/unit/gateway/test_inbound_store.py:31
Functiontest_sanitize_mixed_name_keeps_ascii_parts
()
tests/unit/test_plugins.py:123
Functiontest_sanitize_plugin_tools_reserved_names
()
tests/unit/test_plugins.py:162
Functiontest_sanitize_redirect_after_keeps_only_safe_internal_paths
( path: str | None, expected: str )
tests/unit/auth/test_sso_redirect_after.py:24
Functiontest_sanitize_subprocess_log_filters_script_paths
()
tests/unit/desktop/test_setup.py:95
Functiontest_sanitize_truncates_overlong_names
()
tests/unit/test_plugins.py:137
Functiontest_save_and_load
(tmp_path: Path, monkeypatch)
tests/unit/test_env_file.py:29
Functiontest_save_and_load_round_trip
(acp_store: tuple[ACPSettingsStore, AgentRepo, int])
tests/unit/agents/test_acp_settings.py:48
Functiontest_save_attachment_pdf_uses_extension
()
tests/unit/api/test_attachments.py:196
Functiontest_save_attachment_zip_from_windows_browser
()
tests/unit/api/test_attachments.py:181
Functiontest_save_overrides_merges_without_dropping_keys
(octop_home: Path)
tests/unit/cli/test_run_bind_resolution.py:92
Functiontest_save_overrides_on_corrupt_config_preserves_bytes
(octop_home: Path)
tests/unit/cli/test_run_bind_resolution.py:80
← previousnext →11,501–11,600 of 12,485, ranked by callers