Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
32,024 in github.com/awslabs/mcp
⨍
Functions
32,024
◇
Types & classes
5,353
↳
Endpoints
3,782
Method
test_metric_data_valid
Test MetricData with valid data.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_models.py:418
Method
test_metric_expression_validation
Test Metric expression validation.
src/aws-iot-sitewise-mcp-server/tests/models/test_metadata_transfer_data_models.py:318
Method
test_metric_metadata_creation
Test creating a metric metadata with all fields.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_models.py:221
Method
test_metric_metadata_validation
Test metric metadata field validation.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_models.py:233
Method
test_metric_names_are_unique
No metric name appears in more than one group.
src/aws-healthomics-mcp-server/tests/test_metrics_schema.py:29
Method
test_metric_of_unknown_name_lists_valid_names
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_schema.py:58
Method
test_metric_processing_config
Test MetricProcessingConfig model.
src/aws-iot-sitewise-mcp-server/tests/models/test_metadata_transfer_data_models.py:839
Method
test_metric_property_type
Test creating a metric property type.
src/aws-iot-sitewise-mcp-server/tests/models/test_metadata_transfer_data_models.py:240
Method
test_metric_with_no_values_on_either_side_is_omitted
(self)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:756
Function
test_metrics
Metrics.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:687
Method
test_metrics_creation
Test pagination metrics creation.
src/aws-healthomics-mcp-server/tests/test_pagination.py:319
Method
test_metrics_edge_cases
Test metrics edge cases.
src/aws-healthomics-mcp-server/tests/test_pagination.py:375
Function
test_metrics_error
Metrics error.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:707
Method
test_metrics_fallback_critical_fault_rate
Test audit with critical fault rate via metrics fallback.
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:383
Method
test_metrics_fallback_error_rate_critical
Test audit with critical error rate via metrics fallback.
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:427
Method
test_metrics_fallback_healthy
Test audit using metrics fallback when no SLOs configured.
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:344
Method
test_metrics_fallback_latency
Test audit captures latency p99 via metrics fallback.
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:471
Method
test_metrics_fallback_latency_critical
Test audit with critical latency via metrics fallback.
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:512
Function
test_metrics_follows_next_token
Pagination must follow NextToken across pages and merge results under the same metric.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:1412
Method
test_metrics_get_service_failure
Test when get_service fails during metrics fallback.
src/cloudwatch-applicationsignals-mcp-server/tests/test_group_tools.py:685
Method
test_metrics_list
Test that MetricsList model works correctly.
src/prometheus-mcp-server/tests/test_models.py:23
Function
test_metrics_malformed_response
Malformed MetricDataResults entry should return internal_error, not crash.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:904
Function
test_metrics_names_validation_rejects_non_list
Metrics names validation rejects non list.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:937
Method
test_metrics_provider_is_abstract
Test that MetricsProvider is an abstract class.
src/openapi-mcp-server/tests/utils/test_metrics_provider_extended2.py:111
Function
test_metrics_status_ranks_choose_worst
Subsequent pages with a worse StatusCode must bump the entry status.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:2091
Method
test_metrics_to_dict
Test metrics conversion to dictionary.
src/aws-healthomics-mcp-server/tests/test_pagination.py:345
Function
test_metrics_truncates_at_page_cap
Infinite NextToken must stop at _METRIC_DATA_PAGE_CAP and surface truncated=True.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:1460
Method
test_mid_month_range_within_a_month_is_allowed
A 30-day range that crosses a month boundary is still accepted. The service caps the span, not the alignment, so a mid-month range must
src/billing-cost-management-mcp-server/tests/tools/test_invoicing_tools.py:432
Method
test_mid_path_traversal
Reject 'dir/../secret' style traversal.
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:53
Method
test_middle_wildcards
Test wildcards in the middle of patterns.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:3162
Method
test_middleware_rejects_with_401_and_no_dispatch
The middleware returns 401 and never dispatches the wrapped app on failure. For any failing assume-role and any caller ``sub`` claim, the
src/aws-healthomics-mcp-server/tests/test_jwt_exchange_failure.py:217
Method
test_minimal
Test Minimal.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_knowledge_base_model.py:57
Method
test_minimal_case_formatting
Test that a minimal case is formatted correctly.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:1944
Method
test_minimal_entry
Test Minimal entry.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_knowledge_base_model.py:99
Method
test_minimal_fields
(self)
src/aws-healthomics-mcp-server/tests/test_store_models.py:124
Method
test_minimal_fields
(self)
src/aws-healthomics-mcp-server/tests/test_store_models.py:192
Method
test_minimal_fields
(self)
src/aws-healthomics-mcp-server/tests/test_store_models.py:247
Method
test_minimal_fields
(self)
src/aws-healthomics-mcp-server/tests/test_store_models.py:354
Method
test_minimal_fields
(self)
src/aws-healthomics-mcp-server/tests/test_store_models.py:441
Method
test_minimal_fields
(self)
src/aws-healthomics-mcp-server/tests/test_store_models.py:502
Method
test_minimal_fields
(self)
src/aws-healthomics-mcp-server/tests/test_store_models.py:552
Method
test_minimal_fields
(self)
src/aws-healthomics-mcp-server/tests/test_store_models.py:614
Method
test_minimal_request_omits_optional_params
Only granularity + timePeriod are sent when optionals are absent.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:1157
Method
test_minimal_response
Response without optional fields uses defaults.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_lifecycle.py:269
Method
test_minimal_response
Test with minimal TGW response (missing optional fields).
src/aws-network-mcp-server/tests/tools/transit_gateway/test_get_tgw_details.py:125
Method
test_minimal_snake_case_input
Without KMS, snake_case s3_configuration becomes the PascalCase boto3 shape.
src/healthlake-mcp-server/tests/test_bugfixes_pagination_and_mapping.py:417
Method
test_minimum_billable_seconds
Test MINIMUM_BILLABLE_SECONDS constant.
src/aws-healthomics-mcp-server/tests/test_cost_analyzer.py:168
Method
test_mint_raises_on_challenge
A challenge response (no tokens) raises rather than returning an empty token.
src/aws-healthomics-mcp-server/integration/harness_tests/test_cognito_provisioning.py:185
Method
test_mismatch_is_an_assertion_error
``TenantIdentityMismatch`` is an ``AssertionError`` for pytest reporting.
src/aws-healthomics-mcp-server/integration/harness_tests/test_isolation.py:113
Method
test_mismatched_hostname_returns_secret_host
Test that mismatched hostname raises ValueError.
src/dynamodb-mcp-server/tests/db_analyzer/test_mysql_managed_mode.py:302
Method
test_missing_actions_returned
Test that missing actions are correctly identified.
src/aws-healthomics-mcp-server/tests/test_ecr_coverage.py:176
Function
test_missing_add_prompt_method
Test behavior when server doesn't have add_prompt.
src/openapi-mcp-server/tests/prompts/test_prompt_registration.py:109
Method
test_missing_arn_returns_error
An empty invoice_unit_arn returns an error without calling the API.
src/billing-cost-management-mcp-server/tests/tools/test_invoice_units_tools.py:202
Method
test_missing_arn_returns_error
An empty ARN returns an error without calling the API.
src/billing-cost-management-mcp-server/tests/tools/test_procurement_preferences_tools.py:175
Method
test_missing_attribute_definitions
Error: AttributeDefinitions missing.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:209
Method
test_missing_attribute_name
Error: AttributeName missing.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:290
Method
test_missing_attribute_type
Error: AttributeType missing.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:324
Method
test_missing_both_override_and_metadata_raises
No configured ARN AND no MasterUserSecret in cluster props → ValueError. Both fallbacks must fail before we refuse the connection.
src/postgres-mcp-server/tests/test_server_internal_functions.py:640
Method
test_missing_broker_id
Test with missing broker ID.
src/amazon-mq-mcp-server/tests/test_server.py:253
Method
test_missing_bucket_rejected
s3:// with no bucket name raises ValueError. **Validates: Requirements Content Resolution Security**
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:199
Method
test_missing_bundle_no_override_fails_fast
With neither override nor bundle, fail fast (no silent system fallback). The system trust store cannot verify the RDS private CAs that direct
src/postgres-mcp-server/tests/test_psycopg_connector.py:1170
Method
test_missing_caller_claim_fails_closed_without_reading_source
Absent caller claim fails closed and never reads the source.
src/aws-healthomics-mcp-server/tests/test_registry_role_resolver.py:233
Method
test_missing_caller_identity_fails_closed
Property: Fail closed on resolution or STS failure (no caller identity). When the decoded claims carry no usable ``sub`` caller identity, the
src/aws-healthomics-mcp-server/tests/test_registry_fail_closed_property.py:244
Method
test_missing_cluster_identifier_raises
Should raise ValueError if cluster_identifier is empty.
src/mysql-mcp-server/tests/test_cp_api_connection.py:299
Method
test_missing_cluster_identifier_raises_error
Test that missing cluster_identifier raises ValueError.
src/postgres-mcp-server/tests/test_cp_api_connection.py:371
Function
test_missing_code_for_run_statement
(mock_create_client)
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_interactive_sessions_handler.py:937
Method
test_missing_confirm
(self, _mock_cfg, handler, ctx)
src/aws-transform-mcp-server/tests/test_collaborator.py:117
Method
test_missing_confirm
(self, _mock_cfg, handler, ctx)
src/aws-transform-mcp-server/tests/test_collaborator.py:151
Method
test_missing_connection_method_raises_error
Test that missing connection_method raises ValueError.
src/postgres-mcp-server/tests/test_server_internal_functions.py:58
Method
test_missing_containers
Test handling task definitions with missing container definitions.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:906
Method
test_missing_content_key
Test handling of responses missing the 'content' key. Verifies that JSON responses without the expected 'content' key are rejected wi
src/aws-iac-mcp-server/tests/client/test_aws_knowledge_client.py:212
Method
test_missing_core_networks_key
Test when response missing CoreNetworks key.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_list_core_networks.py:92
Method
test_missing_coverage_lines
Test specific missing coverage lines to reach 95%.
src/ccapi-mcp-server/tests/test_server.py:385
Method
test_missing_credentials
Test handling of missing AWS credentials.
src/amazon-qindex-mcp-server/tests/test_server.py:266
Method
test_missing_credentials_raises
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_client.py:165
Method
test_missing_data_is_not_reported_as_a_denial
An account with no Enterprise Support data reads as not_found. The API raises ResourceNotFoundException for any account or billing period
src/billing-cost-management-mcp-server/tests/tools/test_enterprise_support_operations.py:624
Method
test_missing_database_name_raises
Should raise ValueError if database_name is empty.
src/mysql-mcp-server/tests/test_cp_api_connection.py:319
Method
test_missing_database_name_raises_error
Test that missing database_name raises ValueError.
src/postgres-mcp-server/tests/test_cp_api_connection.py:391
Method
test_missing_database_type_raises_error
Test that missing database_type raises ValueError.
src/postgres-mcp-server/tests/test_server_internal_functions.py:71
Method
test_missing_directory_logs_warning
Test that missing subdirectories are handled gracefully.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_knowledge_base_loader.py:201
Method
test_missing_engine_version_raises
Should raise ValueError if engine_version is empty.
src/mysql-mcp-server/tests/test_cp_api_connection.py:309
Method
test_missing_engine_version_raises_error
Test that missing engine_version raises ValueError.
src/postgres-mcp-server/tests/test_cp_api_connection.py:381
Method
test_missing_event_id
get_automation_event without event_id errors before creating a client.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:877
Method
test_missing_expected_columns_fails_closed
A row lacking the expected columns is unverifiable -> enforce rejects. Guards against silently passing a role we could not actually inspect
src/postgres-mcp-server/tests/test_privilege_guardrail.py:224
Method
test_missing_external_id_fails_closed
A record missing its ExternalId fails closed.
src/aws-healthomics-mcp-server/tests/test_registry_role_resolver.py:194
Method
test_missing_fields
Test handling of routes with missing fields.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_get_all_cloudwan_routes.py:107
Method
test_missing_file_path_reports_error
A missing file_path produces a required-field error.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:1865
Method
test_missing_firewalls_key
Test response without Firewalls key.
src/aws-network-mcp-server/tests/tools/network_firewall/test_list_network_firewalls.py:70
Function
test_missing_group_by_for_summaries
Test missing group_by for list_recommendation_summaries.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:215
Method
test_missing_host_in_secret_raises_error
Test that missing host field in secret raises ValueError.
src/dynamodb-mcp-server/tests/db_analyzer/test_mysql_managed_mode.py:346
Method
test_missing_id_skipped
(self)
src/valkey-mcp-server/tests/test_search_add_documents.py:67
Function
test_missing_input_detection_is_exact
Property: Missing-input detection is exact. For any set of required input names and any mapping of provided inputs, ``missing_required_inputs
src/aws-healthomics-mcp-server/integration/harness_tests/test_opt_in_property.py:67
Method
test_missing_key_attribute_name
Error: key AttributeName missing.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:401
Method
test_missing_key_raises_value_error
Raises ValueError when S3 URI has no object key.
src/aws-healthomics-mcp-server/tests/test_package_workflow_output.py:145
Method
test_missing_key_schema
Error: KeySchema missing.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:240
Method
test_missing_key_type
Error: KeyType missing.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:439
Method
test_missing_message_id
(self, _cfg, _nudge, mock_fes, handler, ctx)
src/aws-transform-mcp-server/tests/test_job_status.py:508
Method
test_missing_message_id_returns_error
When messageId cannot be extracted, return error_result.
src/aws-transform-mcp-server/tests/test_chat.py:430
Method
test_missing_metadata_field
Test handling when metadata field is missing entirely.
src/aws-documentation-mcp-server/tests/test_metadata_handling.py:306
Method
test_missing_metric_name_raises_error
Test that missing metricName raises ValueError.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_cloudformation_template_generator.py:138
← previous
next →
23,601–23,700 of 32,024, ranked by callers