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_recency_weight_1_to_3_days
()
tests/unit/proactive/test_picker.py:90
Function
test_recency_weight_3_to_7_days
()
tests/unit/proactive/test_picker.py:96
Function
test_recency_weight_within_1_day
()
tests/unit/proactive/test_picker.py:84
Function
test_recent_journal
(env_with_main_agent)
tests/integration/test_memory_api.py:241
Function
test_record_replay_replay_runs_runner
(env: Any)
tests/integration/test_browser_record_replay_api.py:172
Function
test_record_replay_start_ensures_daemon_and_starts_recording
(env: Any)
tests/integration/test_browser_record_replay_api.py:28
Function
test_record_replay_start_ignores_requested_agent_profile
(env: Any)
tests/integration/test_browser_record_replay_api.py:141
Function
test_record_replay_start_ignores_requested_profile
(env: Any)
tests/integration/test_browser_record_replay_api.py:61
Function
test_record_replay_start_returns_503_when_daemon_fails
(env: Any)
tests/integration/test_browser_record_replay_api.py:92
Function
test_record_replay_status_returns_daemon_status
(env: Any)
tests/integration/test_browser_record_replay_api.py:8
Function
test_record_replay_stop_generates_steps
(env: Any)
tests/integration/test_browser_record_replay_api.py:110
Function
test_record_skill_content_hides_other_user_recording
(env: Any)
tests/integration/test_browser_record_replay_api.py:221
Function
test_record_status_hides_other_user_active
(env: Any)
tests/integration/test_browser_record_replay_api.py:199
Function
test_recover_stale_profile_renames_and_recreates
(tmp_path: Path)
tests/unit/browser/test_browser_setup.py:118
Function
test_refresh_agents_for_package_hot_syncs_only_mounted_agents
( manager: AgentManager, monkeypatch: pytest.MonkeyPatch, )
tests/unit/agents/test_agent_skill_packages.py:276
Function
test_refresh_peer_entry_clears_empty_cards
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:1529
Function
test_refresh_peer_entry_picks_up_manifest_edits
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:1499
Function
test_refuse_cross_engine_restore
(layout: PathLayout, tmp_path: Path)
tests/unit/backup/test_system_archive.py:1244
Function
test_refuse_newer_schema_backup_before_database_replace
( layout: PathLayout, tmp_path: Path )
tests/unit/backup/test_system_archive.py:1188
Function
test_register_failure_sets_runtime_error
(tmp_path: Path)
tests/unit/gateway/test_gateway_runtime_status.py:111
Function
test_register_feishu_app_maps_sdk_result
(monkeypatch: pytest.MonkeyPatch)
tests/unit/gateway/test_feishu_bot_creator.py:43
Function
test_register_feishu_app_rejects_none_result
(monkeypatch: pytest.MonkeyPatch)
tests/unit/gateway/test_feishu_bot_creator.py:106
Function
test_register_makes_test_double_reachable
(monkeypatch: pytest.MonkeyPatch)
tests/unit/auth/test_captcha_providers.py:76
Function
test_register_qq_defaults_to_stream_processor
(tmp_path: Path)
tests/unit/gateway/test_gateway_runtime_status.py:77
Function
test_register_qq_invoke_when_c2c_streaming_is_off
(tmp_path: Path)
tests/unit/gateway/test_gateway_runtime_status.py:94
Function
test_register_stream_mode_uses_original_processor
(tmp_path: Path)
tests/unit/gateway/test_gateway_runtime_status.py:61
Function
test_register_success_sets_runtime_connected
(tmp_path: Path)
tests/unit/gateway/test_gateway_runtime_status.py:43
Function
test_registry_lists_docx
()
tests/unit/utils/test_doc_edit.py:46
Function
test_regular_user_can_create_and_reload_agent
(env)
tests/integration/test_agents_list_scope.py:114
Function
test_regular_user_can_list_storage_backends
Regular authenticated users can GET /api/storage-backends.
tests/integration/test_agents_api.py:149
Function
test_regular_user_cannot_create_provider
POST /admin/providers is admin-only.
tests/integration/test_providers_api.py:35
Function
test_regular_user_cannot_push_to_another_users_package
( env_alice_bob_agent: Any, )
tests/integration/test_skill_packages_api.py:223
Function
test_rehydrate_reloads_channels_and_cron_even_if_provider_rehydrate_fails
Channel and cron reload must still run when agent rehydrate raises.
tests/unit/api/test_backup_restore_rehydrate.py:102
Function
test_reindex_all_updates_base_model_marks_documents_pending_and_enqueues
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/unit/knowledge/test_jobs.py:144
Function
test_reindex_document_enqueues_job
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/api/test_knowledge_bases.py:476
Function
test_reinstall_after_soft_delete_without_overwrite
Soft-deleted multi-file skills must reinstall even when a sibling is listed first.
tests/integration/test_skills_api.py:731
Function
test_reinstall_overwrite_clears_skills_disabled
Disable → delete → overwrite reinstall must leave the skill enabled.
tests/integration/test_skills_api.py:781
Function
test_reject_non_image_avatar
(env)
tests/integration/test_agent_avatars.py:52
Function
test_reject_unsafe_filename
()
tests/unit/backup/test_store.py:44
Method
test_reject_with_message
(self)
tests/unit/api/test_hitl_resume_validation.py:19
Method
test_reject_without_message
(self)
tests/unit/api/test_hitl_resume_validation.py:22
Method
test_rejects_bad_format
(self)
tests/unit/agents/test_custom_agent_id.py:19
Function
test_rejects_http_scheme_and_private_host
()
tests/unit/connectors/test_custom_mcp.py:127
Function
test_rejects_paths_and_non_commands
(text: str | None)
tests/unit/gateway/test_slash_parse.py:42
Method
test_rejects_reserved_words
(self)
tests/unit/agents/test_custom_agent_id.py:36
Function
test_relative_without_slash_always_workspace
()
tests/unit/api/test_workspace_io_path.py:20
Function
test_release_ignores_stale_session_after_replace
(monkeypatch)
tests/unit/desktop/test_session.py:89
Function
test_reload_agent_clears_bootstrap_refresh_pending
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:526
Function
test_reload_agent_does_not_block_event_loop
Harness create/remove must run off the event loop (MCP init blocks the loop).
tests/unit/agents/test_agent_manager.py:1273
Function
test_reload_agents_runs_in_parallel
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/unit/agents/test_provider_reload_impact.py:109
Function
test_reload_channels_from_db_unregisters_old_and_registers_enabled
Hot restore path: drop live IM channels, keep builtins, register DB rows.
tests/unit/gateway/test_gateway_runtime_status.py:130
Function
test_reload_from_db_clears_user_jobs_then_reschedules
reload_from_db removes stale user jobs and schedules current DB rows.
tests/unit/cron/test_cron_manager.py:165
Function
test_reload_skips_stopped_agent
(manager: AgentManager)
tests/unit/agents/test_agent_manager.py:915
Function
test_remote_capability_requires_enabled_embedding_provider
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/knowledge/test_gate.py:92
Function
test_remote_embedding_batches_large_input
(monkeypatch)
tests/unit/knowledge/test_embed.py:95
Function
test_remote_embedding_merges_provider_extra_headers
(monkeypatch)
tests/unit/knowledge/test_embed.py:50
Function
test_remote_embedding_routes_to_provider_embeddings_endpoint
(monkeypatch)
tests/unit/knowledge/test_embed.py:8
Function
test_remote_ocr_requires_image_capable_model
()
tests/unit/knowledge/test_ocr.py:43
Function
test_remote_ocr_sends_image_block
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/unit/knowledge/test_ocr.py:139
Function
test_remove_deletes_db_and_dir
(manager: UserManager, tmp_path: Path)
tests/unit/test_user_manager.py:422
Function
test_rename_document_maps_invalid_name
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/api/test_knowledge_bases.py:647
Function
test_rename_document_maps_name_taken
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/api/test_knowledge_bases.py:623
Function
test_rename_document_maps_not_found
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/api/test_knowledge_bases.py:599
Function
test_rename_document_missing_or_wrong_kb_returns_none
( repo: KnowledgeRepo, owner_id: int )
tests/unit/db/test_repo_knowledge.py:290
Function
test_rename_document_returns_row_payload
( monkeypatch: pytest.MonkeyPatch, )
tests/unit/api/test_knowledge_bases.py:570
Function
test_rename_file
(env: Any)
tests/integration/test_workspace_api.py:331
Function
test_rename_file_updates_path_and_filename
(repo: KnowledgeRepo, owner_id: int)
tests/unit/db/test_repo_knowledge.py:276
Function
test_rename_folder_rewrites_descendant_paths
(service: KnowledgeService)
tests/unit/knowledge/test_service_acl.py:191
Function
test_rename_folder_updates_descendant_paths
(repo: KnowledgeRepo, owner_id: int)
tests/unit/db/test_repo_knowledge.py:241
Function
test_rename_host_dir_rejects_existing_name
(tmp_path: Path)
tests/unit/infra/utils/test_host_dirs.py:177
Function
test_rename_host_dir_rejects_path_separators
(tmp_path: Path)
tests/unit/infra/utils/test_host_dirs.py:184
Function
test_rename_host_dir_renames_basename
(tmp_path: Path)
tests/unit/infra/utils/test_host_dirs.py:167
Function
test_rename_host_dir_renames_child
( env_admin_client: tuple[httpx.AsyncClient, dict[str, str]], tmp_path: Path, monkeypatch: pytest.
tests/integration/test_filesystem_api.py:284
Function
test_rename_rejects_name_collision
(service: KnowledgeService)
tests/unit/knowledge/test_service_acl.py:211
Function
test_rename_rejects_name_with_separator
(service: KnowledgeService)
tests/unit/knowledge/test_service_acl.py:228
Function
test_rename_root_folder
(repo: KnowledgeRepo, owner_id: int)
tests/unit/db/test_repo_knowledge.py:267
Function
test_rename_same_name_is_idempotent
(service: KnowledgeService)
tests/unit/knowledge/test_service_acl.py:238
Function
test_render_download_section_matches_github_asset_names
()
tests/unit/test_release_download_links.py:25
Function
test_render_handles_empty_custom
(loader: PersonaLoader)
tests/unit/agents/test_persona.py:40
Function
test_render_launchd_plist_includes_service_mode
(tmp_path: Path)
tests/unit/infra/setup/test_service.py:363
Function
test_render_launchd_plist_system_scope_includes_username
(tmp_path: Path)
tests/unit/infra/setup/test_service.py:591
Function
test_render_launchd_plist_user_scope_omits_username
launchd rejects `<key>UserName</key>` for user-domain agents.
tests/unit/infra/setup/test_service.py:583
Function
test_render_persona_template_uses_profile_fields
()
tests/unit/agents/test_persona.py:45
Function
test_render_substitutes_placeholders
(loader: PersonaLoader)
tests/unit/agents/test_persona.py:31
Function
test_render_systemd_unit_includes_service_mode
(tmp_path: Path)
tests/unit/infra/setup/test_service.py:352
Function
test_render_systemd_unit_system_scope
(tmp_path: Path)
tests/unit/infra/setup/test_service.py:79
Function
test_render_systemd_unit_system_scope_omits_user_for_root
When running as root under a system unit, drop the User= line so that restrictive systemd builds don't force a degraded environment.
tests/unit/infra/setup/test_service.py:112
Function
test_render_systemd_unit_system_scope_uses_runtime_scope_by_default
``--scope system`` must emit ``User=`` even when the installer is non-root. Previously we consulted ``_systemd_is_user_unit()`` which returned Tr
tests/unit/infra/setup/test_service.py:89
Function
test_render_systemd_unit_user_scope
(tmp_path: Path)
tests/unit/infra/setup/test_service.py:67
Function
test_renewal_mode
()
tests/unit/infra/setup/tls/test_modes.py:24
Function
test_repair_known_returns_none_for_unknown_corruption
()
tests/unit/infra/utils/test_utf8_text.py:45
Function
test_repair_legacy_passthrough_short
()
tests/unit/db/test_clip_thread_title.py:47
Function
test_repair_legacy_schema_adds_icon_columns_at_version_2
Repair path must backfill icon columns when table exists without them.
tests/unit/db/test_skill_package_icons.py:101
Function
test_repair_legacy_schema_ensures_columns
DBs missing columns must be repaired on boot even if schema version is ahead.
tests/unit/db/test_db_pool.py:136
Function
test_repair_legacy_schema_ensures_name_unique_index
Repair path must backfill the name unique index when table exists at version 2.
tests/unit/db/test_skill_package_icons.py:56
Function
test_repair_legacy_thread_title_hard_cut
()
tests/unit/db/test_clip_thread_title.py:36
Function
test_replace_clears_local_dir
(tmp_path: Path)
tests/unit/backup/test_workspace_archive.py:46
Function
test_replace_import_keeps_system_state
``replace`` must not delete state an archive can never carry. Hidden paths are outside the export glob, so ``.octop`` (sessions / skills / au
tests/unit/backup/test_workspace_archive.py:94
Function
test_replace_services_retargets_user_and_provider_repos
(tmp_path: Path)
tests/unit/db/test_runtime_replace_services.py:31
Function
test_replacing_chunked_message_preserves_other_messages_shared_blocks
(archive)
tests/unit/gateway/test_versioned_history.py:1006
← previous
next →
11,301–11,400 of 12,485, ranked by callers