Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
35,417 in github.com/awslabs/mcp
⨍
Functions
35,417
◇
Types & classes
5,673
↳
Endpoints
3,994
Method
test_healthomics_unknown_when_policy_check_fails
Test that healthomics_accessible is 'unknown' when policy check fails with other error.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:2778
Method
test_healthomics_usable_flag_when_all_permissions_succeed
Test that healthomics_usable is True when all permissions are configured.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:5563
Method
test_healthomics_usable_flag_when_permissions_fail
Test that healthomics_usable is False when permissions fail.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:5602
Method
test_healthomics_usable_when_all_permissions_granted
Test that rule is marked usable when all permissions are granted.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:3136
Method
test_healthy_app_report
(self)
src/aws-for-sap-management-mcp-server/tests/test_health.py:2342
Method
test_healthy_returns_true
When execute_query returns a non-empty records list, the pool is healthy.
src/mysql-mcp-server/tests/test_asyncmy_connector.py:1059
Function
test_hello_world
Basic test to verify test setup is working.
src/amazon-mq-mcp-server/tests/test_aws_service_mcp_generator.py:749
Function
test_hello_world
Basic test to verify test setup is working.
src/amazon-sns-sqs-mcp-server/tests/test_generator.py:620
Method
test_help_flag
Test that help flag works.
src/finch-mcp-server/tests/test_cli_flags.py:364
Method
test_helper_flows_through_active_resolver
Each (region_name, profile_name) helper resolves via the active resolver. The helper must invoke the active resolver exactly once with a matc
src/aws-healthomics-mcp-server/tests/test_credential_seam_routing.py:120
Method
test_helper_methods
Test helper methods for entity and parameter handling.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_sample_generators.py:578
Method
test_helpful_error_message_creation
Test helpful error message creation - covers lines 330-332.
src/healthlake-mcp-server/tests/test_fhir_error_scenarios.py:122
Method
test_hex_color_string_is_allowed
``'#ffffff'`` — a hex colour literal is benign.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1734
Method
test_hex_escape_attempt
Test that hex escape injection attempt is rejected.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2529
Method
test_hex_ip_encoding_blocked
Test hexadecimal IP encoding is blocked.
src/aws-appsync-mcp-server/tests/test_create_datasource.py:105
Method
test_hgetall
(self, client)
src/valkey-mcp-server/tests/integration/test_command_runners_live.py:71
Method
test_hierarchy_operations_error_handling
Test DICOM hierarchy operations error handling.
src/healthimaging-mcp-server/tests/test_server.py:1645
Method
test_hierarchy_operations_with_errors
Test DICOM hierarchy operations with client errors.
src/healthimaging-mcp-server/tests/test_operations.py:1595
Method
test_high_density_allows_detection
Test that high density (>50%) allows seasonality detection.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:56
Method
test_high_malformed_ratio_raises
When >10% of lines are malformed, raises ValueError signaling format change.
src/roda-mcp-server/tests/test_server.py:86
Method
test_high_priority_above_threshold
Test when savings exceed 10% threshold.
src/aws-healthomics-mcp-server/tests/test_instance_recommender.py:184
Method
test_high_priority_at_threshold
Test when savings exactly at 10% threshold.
src/aws-healthomics-mcp-server/tests/test_instance_recommender.py:190
Method
test_high_priority_below_threshold
Test when savings below 10% threshold.
src/aws-healthomics-mcp-server/tests/test_instance_recommender.py:196
Method
test_high_priority_negative_cost
Test with negative estimated cost.
src/aws-healthomics-mcp-server/tests/test_instance_recommender.py:207
Method
test_high_priority_savings_detailed_with_invalid_instance_specs
Test high-priority savings in detailed mode when get_instance_specs returns (0, 0).
src/aws-healthomics-mcp-server/tests/test_run_analysis.py:2654
Method
test_high_priority_savings_non_detailed_with_invalid_instance_specs
Test high-priority savings in non-detailed mode when get_instance_specs returns (0, 0).
src/aws-healthomics-mcp-server/tests/test_run_analysis.py:2723
Method
test_high_priority_savings_with_none_recommended_instance
Test high-priority savings when recommendedInstanceType is None.
src/aws-healthomics-mcp-server/tests/test_run_analysis.py:3107
Method
test_high_priority_zero_cost
Test with zero estimated cost.
src/aws-healthomics-mcp-server/tests/test_instance_recommender.py:202
Method
test_high_word_coverage_bonus
Test bonus for high word coverage.
src/cloudwatch-applicationsignals-mcp-server/tests/test_utils.py:230
Method
test_highest_precedence_applicable_mechanism_is_selected
When more than one enabled mechanism applies, exactly one derives. The selected mechanism is the highest in INBOUND_PRECEDENCE among the
src/aws-healthomics-mcp-server/tests/test_mechanism_precedence.py:162
Function
test_highest_precedence_applicable_mechanism_wins_over_lower
A lower-precedence mechanism is skipped when a higher one applies. ``jwt`` outranks ``explicit``; with both applicable and supplied in arbitrary
src/aws-healthomics-mcp-server/tests/test_identity_middleware.py:219
Function
test_hint_names_the_lookups_and_the_ignored_match_options
The hint says how to check each kind of value and that partial matching is ignored.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:2136
Method
test_history_billing_period_is_preserved
The history rows' billingPeriod object is passed through as-is.
src/billing-cost-management-mcp-server/tests/tools/test_billing_preferences_operations.py:213
Method
test_history_item_with_missing_fields
Test history item transformation with missing fields.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_alarm_history.py:434
Method
test_hit_returns_role_target_from_enabled_record
A valid enabled record resolves to its mapped ``RoleTarget``.
src/aws-healthomics-mcp-server/tests/test_registry_role_resolver.py:151
Method
test_hit_treats_absent_enabled_flag_as_enabled
A record without an ``enabled`` flag is treated as enabled.
src/aws-healthomics-mcp-server/tests/test_registry_role_resolver.py:161
Method
test_hitl_blocks_unchecked_job
(self, _, mock_mcp, mock_context)
src/aws-transform-mcp-server/tests/test_load_instructions.py:287
Method
test_hitl_tasks_list_path
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:876
Method
test_hits_max_pages_safety_limit
(self, mock_fes)
src/aws-transform-mcp-server/tests/test_paginate_all.py:107
Method
test_holding_refuses_a_handle_the_name_no_longer_belongs_to
Taking the lock and validating are one step, so neither can be had without the other. Two steps let a caller hold the lock and skip the check
src/redshift-mcp-server/tests/test_transactions.py:149
Method
test_holding_releases_the_lock_when_the_body_raises
A failed statement must not strand the transaction its caller still owns.
src/redshift-mcp-server/tests/test_transactions.py:168
Method
test_home_dirs_falls_back_to_env_home_when_password_db_fails
An account missing from the password database leaves $HOME as the source.
src/ecs-mcp-server/tests/unit/utils/test_path_validation.py:67
Method
test_home_dirs_includes_expanded_home
The blocklist is anchored on the home directory $HOME points at.
src/ecs-mcp-server/tests/unit/utils/test_path_validation.py:44
Method
test_home_dirs_survives_redirected_home
A redirected $HOME cannot hide the account's real home directory. The password database is consulted as a second source so that a se
src/ecs-mcp-server/tests/unit/utils/test_path_validation.py:49
Method
test_host_and_port_cli_wins_when_non_empty
Non-empty CLI host/port win over env; blank CLI values fall back to env.
src/aws-healthomics-mcp-server/tests/test_config.py:243
Function
test_host_fails_validation_when_both_present
Test that host validation fails even when origin is valid.
src/aws-api-mcp-server/tests/middleware/test_http_header_validation_middleware.py:177
Function
test_host_header_validation_fails
Test host header validation fails for disallowed hosts.
src/aws-api-mcp-server/tests/middleware/test_http_header_validation_middleware.py:123
Function
test_host_header_validation_passes
Test host header validation passes for allowed hosts.
src/aws-api-mcp-server/tests/middleware/test_http_header_validation_middleware.py:89
Method
test_host_is_the_server_loopback_constant
The injected host is the server's loopback default, not a hard-coded literal. Binding to ``consts.DEFAULT_HTTP_HOST`` (``127.0.0.1``) keeps t
src/aws-healthomics-mcp-server/integration/harness_tests/test_apigateway_config.py:94
Method
test_hostname_exact_match
Hostname must match exactly, not as a prefix/suffix.
src/amazon-bedrock-agentcore-mcp-server/tests/test_url_validator.py:153
Method
test_hostname_exceeding_max_length_is_invalid
Property: Hostname longer than 253 characters is invalid.
src/aws-healthomics-mcp-server/tests/test_transport_and_multitenant_edges.py:109
Method
test_hostname_mismatch_recommends_verify_ca
A hostname mismatch points at --sslmode=verify-ca, not at disabling TLS.
src/postgres-mcp-server/tests/test_psycopg_connector.py:1368
Function
test_hourly_keeps_its_timestamps
HOURLY keeps the timestamp on every row, the midnight one included.
src/billing-cost-management-mcp-server/tests/utilities/test_ce_time_period_format.py:191
Method
test_hourly_seasonality_detection
Test detection of hourly seasonal patterns.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:105
Method
test_hours_to_window
Convert an hours value into a PromQL window string.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_client.py:106
Method
test_hover
Hover over an element.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_integ_browser_session.py:835
Method
test_hover
Hover over an element.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:550
Method
test_hover_generic_error
Hover generic exception returns error.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:946
Method
test_hover_ref_not_found
Hover with invalid ref returns error.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_interaction.py:568
Method
test_href_not_repeated_as_title
Links render as [text](url), not [text](url "url").
src/aws-documentation-mcp-server/tests/test_util.py:1164
Method
test_hset
(self, mock_client)
src/valkey-mcp-server/tests/test_command_runners.py:124
Method
test_hset_and_hget
(self)
src/valkey-mcp-server/tests/integration/test_command_runners_live.py:148
Method
test_html
(self)
src/aws-transform-mcp-server/tests/test_upload_helper.py:166
Method
test_html_and_md_urls_map_to_html_page
A .md URL names the .html page at its path; query and fragment are dropped.
src/aws-documentation-mcp-server/tests/test_util.py:1354
Method
test_html_content_type
Test detection of HTML content by content type.
src/aws-documentation-mcp-server/tests/test_util.py:141
Method
test_html_tag_in_content
Test detection of HTML content by HTML tag.
src/aws-documentation-mcp-server/tests/test_util.py:136
Method
test_html_to_text_removes_script_style
Test _html_to_text removes script and style blocks.
src/amazon-bedrock-agentcore-mcp-server/tests/test_doc_fetcher.py:87
Method
test_html_to_text_removes_tags
Test _html_to_text removes HTML tags.
src/amazon-bedrock-agentcore-mcp-server/tests/test_doc_fetcher.py:112
Method
test_html_to_text_unescapes_entities
Test _html_to_text unescapes HTML entities.
src/amazon-bedrock-agentcore-mcp-server/tests/test_doc_fetcher.py:128
Function
test_http_client_factory
Test creating an HTTP client using the factory.
src/openapi-mcp-server/tests/utils/test_http_client.py:27
Function
test_http_client_factory_create_client
Test creating an HTTP client with default settings.
src/openapi-mcp-server/tests/utils/test_http_client_extended2.py:24
Function
test_http_client_factory_create_client_with_custom_settings
Test creating an HTTP client with custom settings.
src/openapi-mcp-server/tests/utils/test_http_client_extended2.py:48
Function
test_http_client_factory_with_auth_and_existing_auth_header
Test creating an HTTP client with auth and existing Authorization header.
src/openapi-mcp-server/tests/utils/test_http_client_extended.py:85
Function
test_http_client_factory_with_auth_and_headers
Test creating an HTTP client with auth and headers.
src/openapi-mcp-server/tests/utils/test_http_client_extended.py:55
Function
test_http_client_factory_with_auth_no_token
Test creating an HTTP client with auth but no token.
src/openapi-mcp-server/tests/utils/test_http_client_extended.py:71
Function
test_http_client_factory_with_cognito_auth
Test creating an HTTP client with Cognito auth.
src/openapi-mcp-server/tests/utils/test_http_client_extended.py:42
Function
test_http_client_factory_with_custom_limits
Test creating an HTTP client with custom connection limits.
src/openapi-mcp-server/tests/utils/test_http_client_extended.py:103
Function
test_http_client_header_masking_debug_logging
Test debug logging with header masking in HttpClientFactory.
src/openapi-mcp-server/tests/utils/test_http_client_import_error.py:20
Function
test_http_client_header_masking_non_bearer_auth
Test header masking for non-Bearer authorization headers.
src/openapi-mcp-server/tests/utils/test_http_client_import_error.py:54
Function
test_http_client_no_sensitive_headers
Test header logging when no sensitive headers are present.
src/openapi-mcp-server/tests/utils/test_http_client_import_error.py:86
Method
test_http_details
HTTP method/url/status are extracted.
src/cloudwatch-applicationsignals-mcp-server/tests/test_trace_tools.py:120
Method
test_http_endpoint_enabled
Should enable HTTP endpoint (Data API).
src/mysql-mcp-server/tests/test_cp_api_connection.py:189
Method
test_http_error
Test handling of HTTP errors.
src/aws-documentation-mcp-server/tests/test_server_utils.py:177
Method
test_http_error
Test search_table_impl handles HTTP errors.
src/aws-documentation-mcp-server/tests/test_server_utils.py:845
Method
test_http_error_400
(self, mock_create, mock_inject, mock_call)
src/aws-transform-mcp-server/tests/test_transform_api_client.py:217
Method
test_http_error_401
(self, mock_create, mock_inject, mock_call)
src/aws-transform-mcp-server/tests/test_transform_api_client.py:233
Method
test_http_error_raises
(self)
src/aws-transform-mcp-server/tests/test_tool_utils.py:304
Method
test_http_error_status
The origin answered 4xx or 5xx.
src/aws-documentation-mcp-server/tests/test_tool_errors.py:162
Method
test_http_exception_retries_then_fails
A transport-level exception is retried and surfaced after max attempts.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_client.py:301
Method
test_http_exception_then_success
Recovers after a transient transport error on the first attempt.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_client.py:313
Method
test_http_protocol_rejected
Test HTTP protocol is rejected.
src/aws-appsync-mcp-server/tests/test_create_datasource.py:122
Function
test_http_request_sets_context_before_dispatch_and_resets
An HTTP request installs the context before dispatch and resets afterwards.
src/aws-healthomics-mcp-server/tests/test_identity_middleware.py:120
Function
test_http_requests
Http requests.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:568
Method
test_http_status_error
Test handling of HTTP status errors.
src/aws-documentation-mcp-server/tests/test_server_utils.py:203
Method
test_http_status_error
Test search_table_impl handles 404 status codes.
src/aws-documentation-mcp-server/tests/test_server_utils.py:865
Method
test_hybrid_mode
(self, mock_ft, mock_provider)
src/valkey-mcp-server/tests/test_search_query.py:156
Method
test_hybrid_provider_failure
Embedding failure in hybrid mode should propagate.
src/valkey-mcp-server/tests/test_search_query.py:244
Method
test_hybrid_search
(self)
src/valkey-mcp-server/tests/integration/test_search_live.py:253
Function
test_hyperpod_cluster_node_handler_initialization
Test the initialization of the HyperPodClusterNodeHandler.
src/sagemaker-ai-mcp-server/tests/test_server.py:198
Function
test_hyperpod_stack_handler_initialization
Test the initialization of the HyperPodStackHandler.
src/sagemaker-ai-mcp-server/tests/test_server.py:222
← previous
next →
22,401–22,500 of 35,417, ranked by callers