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_delete
(repo: UserRepo)
tests/unit/db/test_repo_users.py:66
Function
test_delete
(repo: ProviderRepo)
tests/unit/db/test_repo_providers.py:69
Function
test_delete
(repo: ChannelRepo, agent_id: str, user_id: int)
tests/unit/db/test_repo_channels.py:134
Function
test_delete_builtin_skill_rejected
(env: Any)
tests/integration/test_skills_api.py:185
Function
test_delete_builtin_skills_forbidden
(env: Any)
tests/integration/test_workspace_api.py:401
Function
test_delete_calls_harness_remove
delete() calls harness_manager.remove() for the agent.
tests/unit/agents/test_agent_registry.py:352
Function
test_delete_directory
(env: Any)
tests/integration/test_workspace_api.py:378
Function
test_delete_document_works_when_feature_disabled
(service: KnowledgeService)
tests/unit/knowledge/test_service_acl.py:142
Function
test_delete_file
(env: Any)
tests/integration/test_workspace_api.py:275
Function
test_delete_hides_skill_from_listing
(env: Any)
tests/integration/test_skills_api.py:299
Function
test_delete_package_removes_database_row_and_directory
( store: SkillPackageStore, )
tests/unit/agents/test_skill_package_store.py:185
Function
test_delete_package_strips_agent_mounts
(env_with_main_agent: Any)
tests/integration/test_skill_packages_api.py:286
Function
test_delete_removes_agent
(live_agent_manager, live_openai_config)
tests/live/test_agent_manager_live.py:102
Function
test_delete_removes_from_db
(tmp_path: Path)
tests/unit/cron/test_cron_manager.py:553
Function
test_delete_removes_from_db_and_entries
delete() removes the row from DB and clears the runtime entry.
tests/unit/agents/test_agent_registry.py:336
Function
test_delete_removes_persisted_workspace_dir
( manager: AgentManager, tmp_path: Path )
tests/unit/agents/test_agent_manager.py:589
Function
test_delete_removes_workspace_directory
Deleting an agent must clean up its workspace directory on disk.
tests/unit/agents/test_agent_manager.py:543
Function
test_delete_stays_under_cache_root
(tmp_path, monkeypatch)
tests/unit/agents/test_onnx_service.py:317
Function
test_delete_still_removes_db_row_when_workspace_rmtree_fails
A failed workspace rmtree must not abort agent deletion (mirrors user removal).
tests/unit/agents/test_agent_manager.py:613
Function
test_delete_stops_memory_maintenance_before_close
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:564
Function
test_delete_thread_cascades_trajectory_ledger
(env_alice_bob_agent: Any)
tests/integration/test_trajectory_api.py:478
Function
test_delete_thread_checkpoint_delegates_to_harness_adelete_thread
( manager: AgentManager, )
tests/unit/agents/test_agent_manager.py:396
Function
test_delete_thread_checkpoint_propagates_unexpected_errors
A live agent whose checkpointer delete genuinely fails must not report success.
tests/unit/agents/test_agent_manager.py:426
Function
test_delete_thread_checkpoint_returns_false_when_agent_not_running
( manager: AgentManager, )
tests/unit/agents/test_agent_manager.py:386
Function
test_delete_thread_checkpoint_returns_false_when_harness_lacks_adelete_thread
( manager: AgentManager, )
tests/unit/agents/test_agent_manager.py:412
Function
test_delete_thread_succeeds_when_trajectory_cascade_raises
( env_alice_bob_agent: Any, )
tests/integration/test_trajectory_api.py:495
Function
test_delete_tolerates_harness_key_error
delete() must not crash when harness.remove() raises KeyError.
tests/unit/agents/test_agent_registry.py:394
Function
test_delete_tolerates_missing_workspace
delete() must not crash when the agent workspace directory doesn't exist.
tests/unit/agents/test_agent_registry.py:381
Function
test_delete_unknown_skill_404
(env: Any)
tests/integration/test_skills_api.py:318
Function
test_delete_unschedules_job
delete() calls scheduler.remove_job when the job is registered.
tests/unit/cron/test_cron_manager.py:566
Function
test_delete_writes_audit_entry
(tmp_path: Path)
tests/unit/cron/test_cron_manager.py:582
Function
test_delete_writes_audit_entry
delete() writes an audit log entry.
tests/unit/agents/test_agent_registry.py:367
Function
test_deliver_agent_attaches_expert_knowledge_bases
()
tests/unit/cron/test_cron_composer_context.py:189
Function
test_deliver_agent_explicit_mcp_overrides_defaults
()
tests/unit/cron/test_cron_composer_context.py:153
Function
test_deliver_agent_merges_default_open_when_empty
()
tests/unit/cron/test_cron_composer_context.py:111
Function
test_deliver_agent_stamps_composer_on_human_message
()
tests/unit/cron/test_cron_composer_context.py:66
Function
test_denied_harness_browser
(tmp_path: Path)
tests/unit/test_host_download_allow.py:51
Function
test_denied_host_download_etc
(tmp_path: Path)
tests/unit/test_host_download_allow.py:47
Function
test_dependency_allows_admin_and_holder
()
tests/unit/api/test_permissions_api.py:35
Function
test_dependency_denies_without_permission
()
tests/unit/api/test_permissions_api.py:27
Function
test_deprecate_atom_round_trip
(env_with_main_agent)
tests/integration/test_memory_api.py:253
Function
test_desktop_error_interpolation
()
tests/unit/i18n/test_desktop.py:17
Function
test_desktop_keys_parity
()
tests/unit/i18n/test_desktop.py:8
Function
test_desktop_status_darwin_missing_perms_not_ok
()
tests/unit/desktop/test_setup.py:218
Function
test_desktop_status_darwin_reports_only_missing_perms
()
tests/unit/desktop/test_setup.py:246
Function
test_desktop_status_deps_missing
()
tests/unit/desktop/test_setup.py:169
Function
test_desktop_status_deps_missing_darwin_omits_linux_cmds
()
tests/unit/desktop/test_setup.py:203
Function
test_desktop_status_linux_deps_missing
()
tests/unit/desktop/test_setup.py:300
Function
test_desktop_status_ready_darwin_omits_linux_cmds
()
tests/unit/desktop/test_setup.py:231
Function
test_desktop_status_rejects_fresh_el10_before_python_deps
()
tests/unit/desktop/test_setup.py:64
Function
test_desktop_uninstall_failed_linux_stack_remains
()
tests/unit/desktop/test_setup.py:127
Function
test_desktop_uninstall_succeeded_linux_stack_removed_with_host_ready
()
tests/unit/desktop/test_setup.py:114
Function
test_desktop_uninstall_succeeded_when_deps_gone
()
tests/unit/desktop/test_setup.py:109
Function
test_destroy_session_is_idempotent
()
tests/unit/api/test_terminal_sessions.py:118
Function
test_detect_local_weknora_returns_not_found_on_unhealthy_host
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/test_connectors.py:462
Function
test_detect_local_weknora_uses_fixed_loopback
(monkeypatch: pytest.MonkeyPatch)
tests/unit/test_connectors.py:434
Function
test_detect_shell_cmd_no_login_flag
Shell command must NOT include -l (login flag) to avoid trailing '%' on zsh exit.
tests/unit/api/test_terminal_sessions.py:414
Function
test_detect_shell_returns_existing_path
``_detect_shell`` must return a path that exists on the current OS.
tests/integration/test_terminal_ws.py:49
Function
test_didi_builds_streamable_http_spec_from_user_key
()
tests/unit/test_connectors.py:255
Function
test_didi_mcp_key_is_redacted_from_logs
()
tests/unit/test_connectors.py:282
Function
test_didi_probe_uses_streamable_http
(monkeypatch: pytest.MonkeyPatch)
tests/unit/test_connectors.py:297
Function
test_didi_requires_api_key
()
tests/unit/test_connectors.py:277
Function
test_different_agents_isolated
(registry: ThreadRegistry)
tests/unit/gateway/test_thread_registry.py:72
Function
test_dify_builds_streamable_http_spec
()
tests/unit/test_connectors.py:215
Function
test_dify_probe_uses_streamable_http
(monkeypatch: pytest.MonkeyPatch)
tests/unit/test_connectors.py:407
Function
test_dify_rejects_non_server_url
()
tests/unit/test_connectors.py:236
Function
test_dify_server_code_is_redacted_from_logs
()
tests/unit/test_connectors.py:241
Function
test_dingtalk_authorize_url
(service: SsoService)
tests/unit/auth/test_dingtalk_adapter.py:48
Function
test_dingtalk_complete_login_uses_union_id
(service: SsoService)
tests/unit/auth/test_dingtalk_adapter.py:67
Function
test_dingtalk_missing_subject_is_invalid_token
(service: SsoService)
tests/unit/auth/test_dingtalk_adapter.py:107
Function
test_dingtalk_qrcode_generate_keeps_device_code_server_side
Only an opaque Octop registration ID and public QR metadata reach the browser.
tests/unit/gateway/test_channels_qr.py:142
Function
test_dingtalk_qrcode_poll_creates_channel_without_returning_secret
Successful authorization probes and persists credentials only on the server.
tests/unit/gateway/test_channels_qr.py:172
Function
test_dingtalk_qrcode_poll_rejects_different_user
(mock_server_and_user)
tests/unit/gateway/test_channels_qr.py:233
Function
test_dingtalk_registration_client_uses_official_device_flow_endpoints
()
tests/unit/gateway/test_channels_qr.py:261
Function
test_disable_builtin_skill
(env: Any)
tests/integration/test_skills_api.py:173
Function
test_disable_plugin_tool_via_admin_plugins_api
(env_with_provider: Any)
tests/integration/test_plugin_tool_disable.py:49
Function
test_disable_plugin_tool_via_expert_tool_settings
(env_with_provider: Any)
tests/integration/test_plugin_tool_disable.py:82
Function
test_disable_removes_from_memory
(manager: UserManager)
tests/unit/test_user_manager.py:409
Function
test_disable_then_enable_toggles_listing
(env: Any)
tests/integration/test_skills_api.py:274
Function
test_disabled_media_generation_does_not_build_harness_config
( store: tuple[MediaGenerationSettingsStore, SecretRepo], )
tests/unit/agents/test_media_generation_settings.py:62
Function
test_disconnect_all_streams_closes_sessions
(monkeypatch)
tests/unit/desktop/test_session.py:67
Function
test_discover_oauth_from_mcp_url_uses_cache
(monkeypatch: pytest.MonkeyPatch)
tests/unit/connectors/test_oauth_discovery.py:129
Function
test_discover_postgresql_only_pg_files
()
tests/unit/db/test_migrate_discovery.py:13
Function
test_discover_sqlite_excludes_pg_files
()
tests/unit/db/test_migrate_discovery.py:6
Function
test_discovery_and_legacy_academic_domains_cannot_be_final
(url: str)
tests/unit/agents/test_clinical_learning_subscription_template.py:465
Function
test_discovery_cache_reuses_value_until_invalidated
()
tests/unit/auth/test_sso_discovery.py:37
Function
test_dispatcher_registers_all_catalog_commands
()
tests/unit/gateway/test_slash_catalog.py:25
Function
test_display_agent_icon_url_cache_busts_local_avatar
()
tests/unit/agents/test_agent_avatar.py:91
Function
test_display_name_normalized_and_used_in_list_api
(svc: ConnectorService, db: SqlitePool)
tests/unit/connectors/test_custom_mcp.py:185
Function
test_display_str_defaults
()
tests/unit/desktop/test_capture_display.py:8
Function
test_doc_missing_file_404
(env: Any)
tests/integration/test_workspace_api.py:499
Function
test_doc_read_and_write_roundtrip
(env: Any)
tests/integration/test_workspace_api.py:414
Function
test_doc_unsupported_extension_400
(env: Any)
tests/integration/test_workspace_api.py:460
Function
test_doc_write_invalid_content_400
(env: Any)
tests/integration/test_workspace_api.py:520
Function
test_doc_write_root_forbidden
(env: Any)
tests/integration/test_workspace_api.py:509
Function
test_docker_compose_forwards_database_env_keys
docker/.env alone does not inject vars — they must be listed under environment.
tests/unit/test_docker_compose_database_env.py:23
Function
test_docker_probe_roundtrip
(monkeypatch: pytest.MonkeyPatch)
tests/unit/test_storage_probe.py:92
Function
test_docker_probe_spec_injects_test_ids
()
tests/unit/test_storage_probe.py:55
Function
test_docker_probe_user_scope_uses_test_username
(monkeypatch: pytest.MonkeyPatch)
tests/unit/test_storage_probe.py:129
Function
test_docs_search_missing_scope_message
(monkeypatch: pytest.MonkeyPatch, tmp_path: Path)
tests/unit/connectors/test_feishu_wecom_cli.py:409
← previous
next →
9,801–9,900 of 12,485, ranked by callers