Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ endpoints
Endpoints
725 in github.com/OpenHands/OpenHands
⨍
Functions
10,856
◇
Types & classes
2,162
↳
Endpoints
725
Route
test_create_view_success
patch('integrations.jira.jira_view.JiraFactory._create_provider_handler')
enterprise/tests/unit/integrations/jira/test_jira_view.py:None
Route
test_create_workspace_link_oauth_disabled
patch('server.routes.integration.jira_dc.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_dc_integration_routes.py:None
Route
test_create_workspace_link_oauth_success
patch('server.routes.integration.jira_dc.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_dc_integration_routes.py:None
Route
test_create_workspace_link_redis_failure
patch('server.routes.integration.jira.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_integration_routes.py:None
Route
test_create_workspace_link_redis_failure
patch('server.routes.integration.jira_dc.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_dc_integration_routes.py:None
Route
test_create_workspace_link_success
patch('server.routes.integration.jira.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_integration_routes.py:None
Route
test_create_workspace_link_unexpected_error
patch('server.routes.integration.jira.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_integration_routes.py:None
Route
test_create_workspace_link_unexpected_error
patch('server.routes.integration.jira_dc.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_dc_integration_routes.py:None
Route
test_create_workspace_link_url_encoding
patch('server.routes.integration.jira.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_integration_routes.py:None
Route
test_create_workspace_link_url_encoding
patch('server.routes.integration.jira_dc.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_dc_integration_routes.py:None
Route
test_custom_replacement_hostname
patch( 'openhands.app_server.utils.docker_utils.is_running_in_docker', return_value=True,
tests/unit/app_server/test_docker_utils.py:None
Route
test_database_error_raises_exception
patch('storage.org_service.OrgService.check_byor_export_enabled')
enterprise/tests/unit/server/routes/test_api_keys.py:None
Route
test_dedupes_when_owner_equals_login
patch('openhands.app_server.app_conversation.skill_loader._get_provider_type')
tests/unit/app_server/test_skill_loader.py:None
Route
test_delete_constructs_alias_from_org
patch('storage.lite_llm_manager.LiteLlmManager.delete_key')
enterprise/tests/unit/server/routes/test_api_keys.py:None
Route
test_delete_key_by_alias_missing_config
patch('storage.lite_llm_manager.LITE_LLM_API_URL', None)
enterprise/tests/unit/test_lite_llm_manager.py:None
Route
test_delete_key_by_alias_not_found
patch('storage.lite_llm_manager.LITE_LLM_API_URL', 'http://test.com')
enterprise/tests/unit/test_lite_llm_manager.py:None
Route
test_delete_key_by_alias_server_error_logs_warning
patch('storage.lite_llm_manager.logger')
enterprise/tests/unit/test_lite_llm_manager.py:None
Route
test_delete_key_by_alias_success
patch('storage.lite_llm_manager.LITE_LLM_API_URL', 'http://test.com')
enterprise/tests/unit/test_lite_llm_manager.py:None
Route
test_delete_key_not_found_with_alias_triggers_alias_deletion
patch('storage.lite_llm_manager.LITE_LLM_API_URL', 'http://test.com')
enterprise/tests/unit/test_lite_llm_manager.py:None
Route
test_delete_key_not_found_without_alias_no_fallback
patch('storage.lite_llm_manager.LITE_LLM_API_URL', 'http://test.com')
enterprise/tests/unit/test_lite_llm_manager.py:None
Route
test_delete_org_cascade_keeps_user_with_alternative_org
pytest.mark.skip( reason='Uses PostgreSQL-specific ::uuid cast syntax not supported by SQLite' )
enterprise/tests/unit/test_org_store.py:None
Route
test_delete_org_cascade_raises_for_non_requester_orphans
pytest.mark.skip( reason='Uses PostgreSQL-specific ::uuid cast syntax not supported by SQLite' )
enterprise/tests/unit/test_org_store.py:None
Route
test_delete_org_cascade_sole_org_requester_is_deleted
pytest.mark.skip( reason='Uses PostgreSQL-specific ::uuid cast syntax not supported by SQLite' )
enterprise/tests/unit/test_org_store.py:None
Route
test_delete_org_cascade_success
pytest.mark.skip( reason='Uses PostgreSQL-specific ::uuid cast syntax not supported by SQLite' )
enterprise/tests/unit/test_org_store.py:None
Route
test_delete_returns_false_on_exception
patch('storage.lite_llm_manager.LiteLlmManager.delete_key')
enterprise/tests/unit/server/routes/test_api_keys.py:None
Route
test_delete_user_idempotent_on_404
patch('storage.lite_llm_manager.LITE_LLM_API_URL', 'http://test.com')
enterprise/tests/unit/test_lite_llm_manager.py:None
Route
test_delete_user_raises_on_server_error
patch('storage.lite_llm_manager.LITE_LLM_API_URL', 'http://test.com')
enterprise/tests/unit/test_lite_llm_manager.py:None
Route
test_delete_uses_env_override_alias
patch('server.routes.api_keys.BYOR_KEY_ALIAS_PATTERN', 'env/{org_id}/u={user_id}')
enterprise/tests/unit/server/routes/test_api_keys.py:None
Route
test_device_authorization_success
patch('server.routes.oauth_device.device_code_store')
enterprise/tests/unit/server/routes/test_oauth_device.py:None
Route
test_device_authorization_with_increased_interval
patch('server.routes.oauth_device.device_code_store')
enterprise/tests/unit/server/routes/test_oauth_device.py:None
Route
test_device_token_error_cases
patch('server.routes.oauth_device.device_code_store')
enterprise/tests/unit/server/routes/test_oauth_device.py:None
Route
test_device_token_success
patch('server.routes.oauth_device.ApiKeyStore')
enterprise/tests/unit/server/routes/test_oauth_device.py:None
Route
test_diagnostics_ping_returns_200_without_dispatch
patch('server.routes.integration.bitbucket_dc.bitbucket_dc_manager')
enterprise/tests/unit/integrations/bitbucket_data_center/test_bitbucket_dc_webhook.py:None
Route
test_does_not_enumerate_bitbucket_dc_projects
patch('openhands.app_server.app_conversation.skill_loader._get_org_repository_url')
tests/unit/app_server/test_skill_loader.py:None
Route
test_double_callback_processing
patch('storage.slack_team_store.SlackTeamStore.get_instance')
enterprise/tests/unit/integrations/slack/test_slack_v1_callback_processor.py:None
Route
test_duplicate_event_returns_200_and_skips_dispatch
patch('server.routes.integration.bitbucket_dc.IS_LOCAL_DEPLOYMENT', False)
enterprise/tests/unit/integrations/bitbucket_data_center/test_bitbucket_dc_webhook.py:None
Route
test_duplicate_event_returns_200_and_skips_dispatch
patch('server.routes.integration.bitbucket.IS_LOCAL_DEPLOYMENT', False)
enterprise/tests/unit/integrations/bitbucket/test_bitbucket_webhook.py:None
Route
test_duplicate_no_repository_click_is_ignored
patch('integrations.slack.slack_manager.get_redis_client_async')
enterprise/tests/unit/test_slack_integration.py:None
Route
test_edge_cases_in_docker
patch( 'openhands.app_server.utils.docker_utils.is_running_in_docker', return_value=True,
tests/unit/app_server/test_docker_utils.py:None
Route
test_edge_cases_not_in_docker
patch( 'openhands.app_server.utils.docker_utils.is_running_in_docker', return_value=False,
tests/unit/app_server/test_docker_utils.py:None
Route
test_encryption_decryption
patch( 'storage.saas_secrets_store.UserStore.get_user_by_id', new_callable=AsyncMock, )
enterprise/tests/unit/test_saas_secrets_store.py:None
Route
test_endpoint
app.get('/test')
tests/unit/server/test_middleware.py:None
Route
test_endpoint
app.get('/test')
enterprise/tests/unit/server/test_rate_limit.py:None
Route
test_endpoint_different_user
app.get('/test-with-different-user')
enterprise/tests/unit/server/test_rate_limit.py:None
Route
test_enroll_bitbucket_dc_webhook_generates_secret_and_stores_row
patch('server.routes.integration.bitbucket_dc.secrets.token_urlsafe')
enterprise/tests/unit/integrations/bitbucket_data_center/test_bitbucket_dc_webhook.py:None
Route
test_error_handling_on_post_failure
patch.object(JiraV1CallbackProcessor, '_request_summary')
enterprise/tests/unit/integrations/jira/test_jira_v1_callback_processor.py:None
Route
test_error_handling_on_summary_request_failure
patch.object(JiraV1CallbackProcessor, '_request_summary')
enterprise/tests/unit/integrations/jira/test_jira_v1_callback_processor.py:None
Route
test_error_raises_500
patch('storage.org_service.OrgService.check_byor_export_enabled')
enterprise/tests/unit/server/routes/test_api_keys.py:None
Route
test_exception_handling_posts_error_to_github
patch( 'integrations.github.github_v1_callback_processor.GITHUB_APP_CLIENT_ID', 'test_client_i
enterprise/tests/unit/integrations/github/test_github_v1_callback_processor.py:None
Route
test_exception_handling_posts_error_to_gitlab
patch('openhands.app_server.config.get_app_conversation_info_service')
enterprise/tests/unit/integrations/gitlab/test_gitlab_v1_callback_processor.py:None
Route
test_extracts_issue_number_from_issue_payload
patch('integrations.github.github_manager.Auth')
enterprise/tests/unit/integrations/github/test_github_manager.py:None
Route
test_extracts_pr_number_from_pull_request_payload
patch('integrations.github.github_manager.Auth')
enterprise/tests/unit/integrations/github/test_github_manager.py:None
Route
test_fast_polling_returns_slow_down
patch('server.routes.oauth_device.device_code_store')
enterprise/tests/unit/server/routes/test_oauth_device.py:None
Route
test_filters_unresolvable_repos
patch('openhands.app_server.app_conversation.skill_loader._get_org_repository_url')
tests/unit/app_server/test_skill_loader.py:None
Route
test_first_poll_allowed
patch('server.routes.oauth_device.device_code_store')
enterprise/tests/unit/server/routes/test_oauth_device.py:None
Route
test_gcp_async_connection_configuration
patch( 'openhands.app_server.services.db_session_injector.DbSessionInjector._create_async_gcp_engine'
tests/unit/app_server/test_db_session_injector.py:None
Route
test_gcp_connection_configuration
patch( 'openhands.app_server.services.db_session_injector.DbSessionInjector._create_gcp_engine' )
tests/unit/app_server/test_db_session_injector.py:None
Route
test_get_bitbucket_dc_resources_returns_repo_enrollment_status
patch('server.routes.integration.bitbucket_dc.webhook_store')
enterprise/tests/unit/integrations/bitbucket_data_center/test_bitbucket_dc_webhook.py:None
Route
test_get_current_workspace_link_found
patch('server.routes.integration.jira.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_integration_routes.py:None
Route
test_get_current_workspace_link_found
patch('server.routes.integration.jira_dc.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_dc_integration_routes.py:None
Route
test_get_current_workspace_link_ignores_stale_configured_host_link
patch('server.routes.integration.jira_dc.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_dc_integration_routes.py:None
Route
test_get_current_workspace_link_not_editable
patch('server.routes.integration.jira.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_integration_routes.py:None
Route
test_get_current_workspace_link_not_editable
patch('server.routes.integration.jira_dc.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_dc_integration_routes.py:None
Route
test_get_current_workspace_link_unexpected_error
patch('server.routes.integration.jira.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_integration_routes.py:None
Route
test_get_current_workspace_link_unexpected_error
patch('server.routes.integration.jira_dc.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_dc_integration_routes.py:None
Route
test_get_current_workspace_link_user_not_found
patch('server.routes.integration.jira.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_integration_routes.py:None
Route
test_get_current_workspace_link_user_not_found
patch('server.routes.integration.jira_dc.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_dc_integration_routes.py:None
Route
test_get_current_workspace_link_workspace_not_found
patch('server.routes.integration.jira.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_integration_routes.py:None
Route
test_get_current_workspace_link_workspace_not_found
patch('server.routes.integration.jira_dc.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_dc_integration_routes.py:None
Route
test_get_docker_client_creates_new_client
patch( 'openhands.app_server.sandbox.docker_sandbox_spec_service._global_docker_client', None,
tests/unit/app_server/test_docker_sandbox_spec_service_injector.py:None
Route
test_get_docker_client_reuses_existing_client
patch( 'openhands.app_server.sandbox.docker_sandbox_spec_service._global_docker_client' )
tests/unit/app_server/test_docker_sandbox_spec_service_injector.py:None
Route
test_get_installation_access_token_missing_credentials
patch( 'integrations.github.github_v1_callback_processor.GITHUB_APP_CLIENT_ID', '', )
enterprise/tests/unit/integrations/github/test_github_v1_callback_processor.py:None
Route
test_get_installation_access_token_success
patch( 'integrations.github.github_v1_callback_processor.GITHUB_APP_CLIENT_ID', 'test_client_i
enterprise/tests/unit/integrations/github/test_github_v1_callback_processor.py:None
Route
test_get_jira_dc_instance_status_configured
patch('server.routes.integration.jira_dc.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_dc_integration_routes.py:None
Route
test_get_jira_dc_instance_status_hidden_for_other_org
patch('server.routes.integration.jira_dc.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_dc_integration_routes.py:None
Route
test_get_jira_dc_instance_status_not_configured
patch('server.routes.integration.jira_dc.get_user_auth')
enterprise/tests/unit/server/routes/test_jira_dc_integration_routes.py:None
Route
test_get_jira_dc_secret_token_success
patch( 'server.routes.integration.jira_dc.get_user_jira_dc_token', new_callable=AsyncMock )
enterprise/tests/unit/server/routes/test_jira_dc_integration_routes.py:None
Route
test_get_local_users_reads_real_database_with_names
patch('enterprise.sync.resend_keycloak.User', _LocalUser)
enterprise/tests/unit/sync/test_resend_keycloak.py:None
Route
test_get_process_status_access_denied
patch('psutil.Process')
tests/unit/app_server/test_process_sandbox_service.py:None
Route
test_get_process_status_missing
patch('psutil.Process')
tests/unit/app_server/test_process_sandbox_service.py:None
Route
test_get_process_status_paused
patch('psutil.Process')
tests/unit/app_server/test_process_sandbox_service.py:None
Route
test_get_process_status_running
patch('psutil.Process')
tests/unit/app_server/test_process_sandbox_service.py:None
Route
test_get_process_status_starting
patch('psutil.Process')
tests/unit/app_server/test_process_sandbox_service.py:None
Route
test_get_resources_filters_nested_projects
patch('server.routes.integration.gitlab.GitLabServiceImpl')
enterprise/tests/unit/server/routes/test_gitlab_integration_routes.py:None
Route
test_get_resources_includes_webhook_metadata
patch('server.routes.integration.gitlab.GitLabServiceImpl')
enterprise/tests/unit/server/routes/test_gitlab_integration_routes.py:None
Route
test_get_resources_non_saas_service
patch('server.routes.integration.gitlab.GitLabServiceImpl')
enterprise/tests/unit/server/routes/test_gitlab_integration_routes.py:None
Route
test_get_resources_parallel_api_calls
patch('server.routes.integration.gitlab.GitLabServiceImpl')
enterprise/tests/unit/server/routes/test_gitlab_integration_routes.py:None
Route
test_get_resources_success
patch('server.routes.integration.gitlab.GitLabServiceImpl')
enterprise/tests/unit/server/routes/test_gitlab_integration_routes.py:None
Route
test_get_secrets_empty_cases
pytest.mark.parametrize( 'secrets_input,expected_result', [ (None, {}), # No secrets availabl
enterprise/tests/unit/integrations/test_resolver_context.py:None
Route
test_get_total_local_users_counts_real_database_emails
patch('enterprise.sync.resend_keycloak.User', _LocalUser)
enterprise/tests/unit/sync/test_resend_keycloak.py:None
Route
test_get_user_keys_empty_list
patch('storage.lite_llm_manager.LITE_LLM_API_URL', 'http://test.com')
enterprise/tests/unit/test_lite_llm_manager.py:None
Route
test_get_user_keys_error_returns_empty_list
patch('storage.lite_llm_manager.LITE_LLM_API_URL', 'http://test.com')
enterprise/tests/unit/test_lite_llm_manager.py:None
Route
test_get_user_keys_success
patch('storage.lite_llm_manager.LITE_LLM_API_URL', 'http://test.com')
enterprise/tests/unit/test_lite_llm_manager.py:None
Route
test_github_repository_path
patch('openhands.app_server.app_conversation.skill_loader._is_gitlab_repository')
tests/unit/app_server/test_skill_loader.py:None
Route
test_gitlab_events_deduplication_with_object_id
patch('server.routes.integration.gitlab.verify_gitlab_signature')
enterprise/tests/unit/test_gitlab_resolver.py:None
Route
test_gitlab_events_deduplication_without_object_id
patch('server.routes.integration.gitlab.verify_gitlab_signature')
enterprise/tests/unit/test_gitlab_resolver.py:None
Route
test_gitlab_events_different_payloads_not_deduplicated
patch('server.routes.integration.gitlab.verify_gitlab_signature')
enterprise/tests/unit/test_gitlab_resolver.py:None
Route
test_gitlab_events_multiple_identical_payloads_deduplicated
patch('server.routes.integration.gitlab.verify_gitlab_signature')
enterprise/tests/unit/test_gitlab_resolver.py:None
Route
test_gitlab_repository_path
patch('openhands.app_server.app_conversation.skill_loader._is_gitlab_repository')
tests/unit/app_server/test_skill_loader.py:None
Route
test_handle_slack_error_no_view
patch('integrations.slack.slack_manager.SlackMessageView.from_payload')
enterprise/tests/unit/test_slack_integration.py:None
← previous
next →
301–400 of 725, ranked by callers