MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

Functiontest_set_local_ocr_settings
(monkeypatch: pytest.MonkeyPatch)
tests/unit/knowledge/test_ocr.py:23
Functiontest_set_locale_persists
(db: SqlitePool)
tests/unit/test_user_locale.py:64
Functiontest_set_password_hash
(repo: UserRepo)
tests/unit/db/test_repo_users.py:60
Functiontest_set_permissions_roundtrip
(tmp_path: Path)
tests/unit/db/test_user_permissions_column.py:27
Functiontest_set_role
(manager: UserManager)
tests/unit/test_user_manager.py:403
Functiontest_set_role
(repo: UserRepo)
tests/unit/db/test_repo_users.py:54
Functiontest_set_run_status
(repo: CronJobRepo, agent_id: str, user_id: int)
tests/unit/db/test_repo_cron.py:90
Functiontest_set_skill_enabled_persists_disabled_list
(tmp_octop_home: Path)
tests/unit/cli/test_skills_cmd.py:26
Functiontest_set_state
(repo: AgentRepo, user_id: int)
tests/unit/db/test_repo_agents.py:77
Functiontest_set_user_rotation_emulator_reports_unsupported
()
tests/unit/mobile/test_rotation.py:78
Functiontest_set_user_rotation_physical_falls_back_to_settings
()
tests/unit/mobile/test_rotation.py:63
Functiontest_set_user_rotation_success_when_display_matches
()
tests/unit/mobile/test_rotation.py:42
Functiontest_set_user_rotation_verifies_readback
()
tests/unit/mobile/test_rotation.py:97
Functiontest_setsid_preserves_int_return
(monkeypatch: pytest.MonkeyPatch)
tests/unit/utils/test_posix_compat.py:26
Functiontest_setsid_tolerates_none_return
macOS ``os.setsid()`` returns None; wrapping that in ``int()`` must not raise. A raising ``preexec_fn`` aborts the PTY shell spawn and the web te
tests/unit/utils/test_posix_compat.py:15
Functiontest_settings_slider_beats_strong_env
(tmp_path: Path)
tests/unit/auth/test_captcha_store.py:49
Functiontest_settings_timezone_returns_default
(env: Any)
tests/integration/test_cron_api.py:237
Functiontest_settings_upload_returns_default_limit
(env: Any)
tests/integration/test_cron_api.py:244
Functiontest_setup_410_after_admin_exists
(env: Any)
tests/integration/test_setup_wizard.py:362
Functiontest_setup_again_410
(client)
tests/integration/test_auth_flow.py:34
Functiontest_setup_database_postgresql_bind
Wizard: probe + bind live PostgreSQL, then create admin.
tests/integration/test_postgresql_control_plane.py:239
Functiontest_setup_database_refused_after_admin
(patched_app_client)
tests/integration/test_setup_database.py:149
Functiontest_setup_database_refuses_nonempty_target
Greenfield setup must not rebind onto a control-plane DB that already has users.
tests/integration/test_setup_database.py:122
Functiontest_setup_database_sqlite_bind
Already-bound empty wizard can still swap sqlite path via rebind.
tests/integration/test_setup_database.py:35
Functiontest_setup_logging_creates_logs_dir_and_file
(tmp_path: Path, monkeypatch)
tests/unit/test_logging.py:110
Functiontest_setup_logging_falls_back_on_invalid_level_env
(tmp_path: Path, monkeypatch)
tests/unit/test_logging.py:170
Functiontest_setup_logging_falls_back_on_invalid_retention_env
(tmp_path: Path, monkeypatch)
tests/unit/test_logging.py:179
Functiontest_setup_logging_migrates_legacy_log
(tmp_path: Path)
tests/unit/test_logging.py:132
Functiontest_setup_logging_respects_level_env
(tmp_path: Path, monkeypatch)
tests/unit/test_logging.py:161
Functiontest_setup_logging_respects_max_bytes_env
(tmp_path: Path, monkeypatch)
tests/unit/test_logging.py:285
Functiontest_setup_logging_respects_retention_env
(tmp_path: Path, monkeypatch)
tests/unit/test_logging.py:146
Functiontest_setup_required_then_login
(client)
tests/integration/test_auth_flow.py:15
Functiontest_setup_status_flips_after_bootstrap
(patched_app_client: Any)
tests/integration/test_setup_bootstrap.py:15
Functiontest_shared_agent_accessible_to_non_owner
()
tests/unit/api/test_agent_access.py:46
Functiontest_shared_agent_admin_allowed
()
tests/unit/api/test_agent_access.py:40
Functiontest_shared_agent_appears_for_other_user
(env)
tests/integration/test_agents_shared.py:28
Functiontest_shared_agent_hides_owner_cron_from_peer
(env)
tests/integration/test_cron_shared_agent.py:8
Functiontest_shared_agent_non_admin_forbidden
()
tests/unit/api/test_agent_access.py:32
Functiontest_shared_agent_threads_are_private
(env)
tests/integration/test_agents_shared.py:200
Functiontest_shared_connector_is_visible_but_not_manageable_by_other_user
(env)
tests/integration/test_connectors_api.py:207
Functiontest_shared_custom_mcp_is_visible_with_collision_safe_name
(env)
tests/integration/test_connectors_api.py:519
Functiontest_shared_custom_server_uses_collision_safe_name_for_viewer
( svc: ConnectorService, db: SqlitePool, )
tests/unit/connectors/test_custom_mcp.py:96
Functiontest_shared_non_owner_still_fails_owner_assert
()
tests/unit/api/test_agent_access.py:60
Functiontest_shared_reader_can_preview_document_text
(service: KnowledgeService)
tests/unit/knowledge/test_service_acl.py:93
Functiontest_shared_reader_cannot_rename
(service: KnowledgeService)
tests/unit/knowledge/test_service_acl.py:250
Functiontest_shared_reader_cannot_upload
(service: KnowledgeService)
tests/unit/knowledge/test_service_acl.py:61
Functiontest_shell_files_are_revalidated
()
tests/unit/api/test_dashboard_cache.py:8
Functiontest_short_id_custom_length
()
tests/unit/test_ulid.py:16
Functiontest_short_id_is_6_char_crockford
()
tests/unit/test_ulid.py:11
Functiontest_short_offload_path_hides_windows_macos_and_linux_hosts
()
tests/unit/gateway/test_slash_compact.py:132
Functiontest_should_defer_when_sqlite_file_missing
(tmp_path: Path)
tests/unit/db/test_db_factory.py:26
Functiontest_should_not_defer_postgresql
(tmp_path: Path)
tests/unit/db/test_db_factory.py:55
Functiontest_should_not_defer_when_database_env_set
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/unit/db/test_db_factory.py:45
Functiontest_should_not_defer_when_sqlite_exists
(tmp_path: Path)
tests/unit/db/test_db_factory.py:35
Functiontest_should_not_send_imap_id_without_netease_or_capability
()
tests/unit/connectors/test_mail_servers.py:66
Functiontest_should_send_imap_id_for_netease_host
()
tests/unit/connectors/test_mail_servers.py:54
Functiontest_should_send_imap_id_when_capability_advertised
()
tests/unit/connectors/test_mail_servers.py:60
Functiontest_shutdown_browser_forces_current_user_profile
()
tests/unit/api/test_harness_tabs.py:95
Functiontest_shutdown_calls_close_when_available
shutdown() calls harness_manager.close() if the method exists.
tests/unit/agents/test_agent_registry.py:183
Functiontest_shutdown_cancels_long_sleep_quickly
A default-on loop sleeps for hours; shutdown must not wait that out.
tests/unit/proactive/test_scheduler.py:393
Functiontest_shutdown_clears_harness_manager
shutdown() calls harness_manager.close() and drops the manager reference.
tests/unit/agents/test_agent_registry.py:156
Functiontest_shutdown_idempotent
Calling shutdown() twice must not raise.
tests/unit/agents/test_agent_registry.py:173
Functiontest_shutdown_ignores_client_profile
(env: Any)
tests/integration/test_browser_api.py:208
Functiontest_shutdown_noop_when_not_running
shutdown() is a no-op when the scheduler is already stopped.
tests/unit/cron/test_cron_manager.py:218
Functiontest_shutdown_requires_auth
(env: Any)
tests/integration/test_browser_api.py:202
Functiontest_shutdown_stops_scheduler
shutdown() calls scheduler.shutdown() when running.
tests/unit/cron/test_cron_manager.py:206
Functiontest_sign_and_decode_roundtrip
()
tests/unit/api/test_jwt_tokens.py:10
Functiontest_single_listener_without_tls
()
tests/unit/infra/setup/tls/test_listeners.py:9
Methodtest_single_select_keeps_one
(self)
tests/unit/gateway/test_hitl_ask_user.py:181
Functiontest_singleton_exists
()
tests/unit/test_metrics.py:25
Functiontest_skill_count_excludes_skills_hidden_from_summaries
(store: SkillPackageStore)
tests/unit/agents/test_skill_package_store.py:171
Functiontest_skill_dir_bind_when_workspace_differs_from_root
(tmp_path: Path)
tests/integration/test_bwrap_jail.py:221
Functiontest_skill_display_name_empty_passthrough
()
tests/unit/i18n/test_skills.py:27
Functiontest_skill_display_name_known_zh
()
tests/unit/i18n/test_skills.py:11
Functiontest_skill_display_name_octop_assistant_name_zh
()
tests/unit/i18n/test_skills.py:19
Functiontest_skill_display_name_octop_assistant_slug_zh
()
tests/unit/i18n/test_skills.py:15
Functiontest_skill_display_name_unknown_passthrough
()
tests/unit/i18n/test_skills.py:23
Functiontest_skill_experts_copy_md_and_skill_files
Each bundled skill expert copies every manifest file (md + skill tree).
tests/live/test_agent_expert_template_live.py:115
Functiontest_skill_package_duplicate_name_raises_integrity_error
(tmp_path: Path)
tests/unit/db/test_skill_package_icons.py:47
Functiontest_skill_package_icons_and_get_by_name
(tmp_path: Path)
tests/unit/db/test_skill_package_icons.py:29
Functiontest_skill_package_ids_list_keeps_only_non_empty_list_items
()
tests/unit/agents/test_agent_skill_packages.py:29
Functiontest_skill_package_repo_create_get
(db: SqlitePool)
tests/unit/db/test_skill_packages_repo.py:35
Functiontest_skill_packages_table_exists
(db: SqlitePool)
tests/unit/db/test_skill_packages_repo.py:23
Functiontest_skill_validation_errors_are_mapped_to_octop_errors
( store: SkillPackageStore, method: str, slug: str, files: list[tuple[str, bytes]] | None, )
tests/unit/agents/test_skill_package_store.py:95
Functiontest_skillhub_api_dict_includes_task_examples_with_content
()
tests/unit/agents/test_skillhub_market.py:308
Functiontest_skillhub_cli_failure_detail_passthrough
()
tests/unit/test_skills_hub_errors.py:66
Functiontest_skillhub_cli_failure_detail_ssl
()
tests/unit/test_skills_hub_errors.py:53
Functiontest_skillhub_dedupes_repeated_frontmatter
()
tests/unit/agents/test_skillhub_market.py:501
Functiontest_skillhub_icon_url_allows_only_http_urls
()
tests/unit/test_skillhub_install_metadata.py:67
Functiontest_skillhub_manifest_defaults_task_examples_without_workflow
()
tests/unit/agents/test_skillhub_market.py:221
Functiontest_skillhub_manifest_generates_workflow_quick_prompts
()
tests/unit/agents/test_skillhub_market.py:139
Functiontest_skillhub_manifest_generates_workflow_task_examples
()
tests/unit/agents/test_skillhub_market.py:246
Functiontest_skillhub_manifest_keeps_up_to_six_task_examples
()
tests/unit/agents/test_skillhub_market.py:284
Functiontest_skillhub_manifest_keeps_up_to_six_workflow_quick_prompts
()
tests/unit/agents/test_skillhub_market.py:197
Functiontest_skillhub_manifest_skill_slugs_are_deduped
()
tests/unit/agents/test_skillhub_market.py:414
Functiontest_skillhub_manifest_welcome_keeps_chinese_when_summary_is_english
()
tests/unit/agents/test_skillhub_market.py:88
Functiontest_skillhub_manifest_welcome_summarizes_capability
()
tests/unit/agents/test_skillhub_market.py:30
Functiontest_skillhub_market_manifest_gets_scene_icon_url
(tmp_path: Path)
tests/unit/agents/test_expert_catalog.py:90
Functiontest_skillhub_metadata_writes_localized_label_and_summary
()
tests/unit/test_skillhub_install_metadata.py:52
Functiontest_skillhub_portrait_prefers_upstream_icon_url
()
tests/unit/agents/test_skillhub_market.py:55
← previousnext →11,701–11,800 of 12,485, ranked by callers