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_validate_bucket_access_success
Test successful bucket access validation.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:356
Method
test_validate_bucket_access_unexpected_error
Test bucket access validation with unexpected error.
src/aws-healthomics-mcp-server/tests/test_s3_utils.py:378
Method
test_validate_case_sensitive
Test validation is case sensitive.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_range_query_validator.py:55
Method
test_validate_client_error
Test that validate returns False when ClientError is raised.
src/prometheus-mcp-server/tests/test_aws_credentials.py:99
Method
test_validate_client_token_invalid
Test invalid client token validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:803
Method
test_validate_client_token_valid
Test valid client token validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:790
Method
test_validate_complete_gsi_configuration_invalid_gsi_list
Test validation fails for invalid GSI list.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:298
Method
test_validate_complete_gsi_configuration_valid
Test validation passes for valid complete configuration.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:278
Method
test_validate_completeness_missing_field_types
Test that validate_completeness raises error for missing field types.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_language_type_mapper.py:149
Method
test_validate_completeness_missing_parameter_types
Test that validate_completeness raises error for missing parameter types.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_language_type_mapper.py:167
Method
test_validate_completeness_missing_return_types
Test that validate_completeness raises error for missing return types.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_language_type_mapper.py:158
Method
test_validate_completeness_success
Test that validate_completeness passes for complete mappings.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_language_type_mapper.py:145
Method
test_validate_connection_arn_error_message_format
Test that error message includes expected format guidance.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1387
Method
test_validate_connection_arn_invalid_empty_string
Test validation rejects empty string.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1338
Method
test_validate_connection_arn_invalid_partial_prefix
Test validation rejects ARNs with partial prefix.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1370
Method
test_validate_connection_arn_invalid_prefix
Test validation rejects ARNs with invalid prefix.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1321
Method
test_validate_connection_arn_invalid_random_string
Test validation rejects random strings.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1353
Method
test_validate_connection_arn_invalid_similar_service
Test validation rejects ARNs from similar but different services.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1447
Method
test_validate_connection_arn_logs_error
Test that validation errors are logged before raising.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1408
Method
test_validate_connection_arn_reports_to_context
Test that validation errors are reported to MCP context.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1429
Method
test_validate_connection_arn_valid_codeconnections_prefix
Test validation with valid codeconnections ARN prefix.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1274
Method
test_validate_connection_arn_valid_codestar_prefix
Test validation with valid codestar-connections ARN prefix (legacy format).
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1287
Method
test_validate_connection_arn_valid_various_regions
Test validation with valid ARNs from various regions.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1300
Method
test_validate_connection_params_all_valid
Test validate_connection_params when all params are valid.
src/dynamodb-mcp-server/tests/db_analyzer/test_analyzer_utils.py:155
Method
test_validate_connection_params_mysql_missing
Test MySQL connection parameter validation with missing params.
src/dynamodb-mcp-server/tests/db_analyzer/test_analyzer_utils.py:118
Method
test_validate_connection_params_mysql_missing_connection_method
Test MySQL validation when neither cluster_arn nor hostname is provided.
src/dynamodb-mcp-server/tests/db_analyzer/test_analyzer_utils.py:131
Method
test_validate_connection_params_mysql_with_hostname
Test MySQL validation with hostname (connection-based access).
src/dynamodb-mcp-server/tests/db_analyzer/test_analyzer_utils.py:143
Method
test_validate_connection_params_unsupported_type
Test validate_connection_params with unsupported database type.
src/dynamodb-mcp-server/tests/db_analyzer/test_analyzer_utils.py:173
Method
test_validate_consistent_read_boolean_type
Test that consistent_read must be a boolean type.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:567
Method
test_validate_consistent_read_error_includes_pattern_info
Test that error messages include pattern_id and pattern_name.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:675
Method
test_validate_consistent_read_gsi_false_allowed
Test that consistent_read: false is allowed for GSI queries.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:626
Method
test_validate_consistent_read_gsi_restriction
Test that consistent_read cannot be true for GSI queries.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:588
Method
test_validate_consistent_read_main_table_true
Test that consistent_read: true is allowed for main table queries.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:659
Method
test_validate_container_images
Test validating container images.
src/ecs-mcp-server/tests/unit/test_image_pull_failure.py:35
Method
test_validate_container_images
Test validate_container_images function.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:116
Method
test_validate_container_images_missing_image
Test validate_container_images with containers missing image field.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:180
Method
test_validate_container_images_no_containers
Test validate_container_images with task definitions having no container definitions.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:157
Method
test_validate_content_source_invalid_types
Test content source validation with invalid types.
src/amazon-qindex-mcp-server/tests/test_clients.py:103
Method
test_validate_control_characters_invalid
Test invalid control character validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:202
Method
test_validate_control_characters_valid
Test valid control character validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:189
Method
test_validate_count_too_high
Test count too high.
src/healthlake-mcp-server/tests/test_server_toolhandler.py:33
Method
test_validate_count_too_low
Test count too low.
src/healthlake-mcp-server/tests/test_server_toolhandler.py:28
Method
test_validate_count_valid
Test valid count values.
src/healthlake-mcp-server/tests/test_server_toolhandler.py:22
Method
test_validate_credentials_client_error
Test credential validation with ClientError.
src/amazon-translate-mcp-server/tests/test_aws_client.py:678
Method
test_validate_credentials_method
Test the validate_credentials method.
src/amazon-translate-mcp-server/tests/test_aws_client.py:369
Method
test_validate_credentials_no_session
Test credential validation when session is not properly initialized.
src/amazon-translate-mcp-server/tests/test_aws_client.py:540
Method
test_validate_credentials_session_not_initialized
Test credential validation when session is not initialized.
src/amazon-translate-mcp-server/tests/test_aws_client.py:653
Method
test_validate_credentials_unexpected_error
Test credential validation with unexpected error.
src/amazon-translate-mcp-server/tests/test_aws_client.py:697
Method
test_validate_cross_table_pattern_not_dict
Test that cross-table pattern must be a dict.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:531
Method
test_validate_cross_table_patterns_not_list
Test that cross_table_access_patterns must be a list.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:133
Method
test_validate_csv_file
Test CSV file validation.
src/amazon-translate-mcp-server/tests/test_terminology_manager.py:603
Method
test_validate_csv_file_errors
Test CSV file validation errors.
src/amazon-translate-mcp-server/tests/test_terminology_manager.py:611
Method
test_validate_data_type_correct_type
Test validate_data_type with correct type.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_definitions.py:129
Method
test_validate_data_type_incorrect_type
Test validate_data_type with incorrect type.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_definitions.py:134
Method
test_validate_data_type_invalid
Test invalid data type validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:199
Method
test_validate_data_type_valid
Test valid data type validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:194
Method
test_validate_data_upload_frequency_invalid
Test invalid data upload frequency validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:627
Method
test_validate_data_upload_frequency_valid
Test valid data upload frequency validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:601
Method
test_validate_datastore_id_edge_cases
Test datastore ID validation edge cases.
src/healthlake-mcp-server/tests/test_fhir_error_scenarios.py:153
Method
test_validate_datastore_id_empty
Test empty datastore ID.
src/healthlake-mcp-server/tests/test_models.py:227
Method
test_validate_datastore_id_invalid_length
Test invalid datastore ID length.
src/healthlake-mcp-server/tests/test_models.py:222
Method
test_validate_datastore_id_valid
Test valid datastore ID.
src/healthlake-mcp-server/tests/test_models.py:216
Method
test_validate_date_format_empty
Test validating empty date.
src/billing-cost-management-mcp-server/tests/utilities/test_aws_service_base.py:283
Method
test_validate_date_format_invalid_date
Test validating invalid date.
src/billing-cost-management-mcp-server/tests/utilities/test_aws_service_base.py:273
Method
test_validate_date_format_invalid_format
Test validating invalid date format.
src/billing-cost-management-mcp-server/tests/utilities/test_aws_service_base.py:268
Method
test_validate_date_format_none
Test validating None date.
src/billing-cost-management-mcp-server/tests/utilities/test_aws_service_base.py:278
Method
test_validate_date_format_valid
Test validating valid date format.
src/billing-cost-management-mcp-server/tests/utilities/test_aws_service_base.py:263
Function
test_validate_ddl_in_cte_subquery
DDL nested in a CTE subquery expression should be caught by the walk.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:1549
Method
test_validate_definition_sources_repository_with_exclude_patterns
Test validation with definition_repository including exclude_file_patterns.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1617
Method
test_validate_definition_sources_with_repository
Test validation with definition_repository source.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1586
Function
test_validate_double_quoted
Double-quoted identifiers are accepted.
src/oracle-mcp-server/tests/test_server.py:109
Function
test_validate_double_quoted
Double-quoted identifiers are valid.
src/mssql-mcp-server/tests/test_server.py:71
Method
test_validate_download_url_rejects_different_url
Test validation rejects any URL that doesn't match exactly.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:1527
Method
test_validate_download_url_valid_exact_url
Test validation passes for exact DynamoDB Local URL.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:1521
Method
test_validate_duplicate_entity_names_across_tables
Test that entity names must be unique across all tables.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:448
Method
test_validate_duplicate_field_names
Test that field names must be unique within an entity.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:176
Method
test_validate_duplicate_gsi_names
Test validation fails when GSI names are duplicated.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:58
Method
test_validate_duplicate_parameter_names
Test that duplicate parameter names are rejected.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:354
Method
test_validate_duplicate_parameter_names
Test that parameter names must be unique within a pattern.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:362
Method
test_validate_duplicate_pattern_ids
Test that pattern IDs must be unique across all entities.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:261
Method
test_validate_duplicate_pattern_names
Test that pattern names must be unique within an entity.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:286
Method
test_validate_duplicate_table_names
Test that table names must be unique across all tables.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:483
Method
test_validate_email_addresses_empty_input
Test that _validate_email_addresses handles empty input correctly.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:1399
Method
test_validate_email_addresses_invalid
Test that _validate_email_addresses rejects invalid email addresses.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:1369
Method
test_validate_email_addresses_mixed_case
Test that _validate_email_addresses handles mixed case email addresses.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:1413
Method
test_validate_email_addresses_valid
Test that _validate_email_addresses accepts valid email addresses.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:1339
Method
test_validate_empty_cross_table_patterns
Test that empty cross_table_access_patterns array is valid.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:157
Method
test_validate_empty_entities
Test that entities dictionary cannot be empty.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:123
Method
test_validate_empty_entities_dict
Test validation when entities dict is present but empty (lines 123-126).
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_usage_data_validator.py:416
Method
test_validate_empty_fields
Test that fields list cannot be empty.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:160
Method
test_validate_empty_parameters_list
Test that empty parameters list is valid.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:373
Function
test_validate_empty_rejected
Empty string is rejected.
src/oracle-mcp-server/tests/test_server.py:124
Function
test_validate_empty_rejected
Empty string is rejected.
src/mssql-mcp-server/tests/test_server.py:86
Function
test_validate_empty_statements_list
Cover the 'if not statements' branch via mock.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:1564
Function
test_validate_empty_string
Empty string should be rejected.
src/billing-cost-management-mcp-server/tests/tools/test_storage_lens_tools.py:1531
Method
test_validate_empty_tables
Test that tables list cannot be empty.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:83
Method
test_validate_encryption_type_invalid
Test invalid encryption type validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:301
Method
test_validate_encryption_type_valid
Test valid encryption type validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:296
Function
test_validate_endpoint_allowed_list_case_insensitive
Allowed endpoint matching is case-insensitive.
src/mssql-mcp-server/tests/test_endpoint_validation.py:205
Function
test_validate_endpoint_allows_configured_on_premise
Endpoints in allowed_endpoints bypass RDS validation.
src/mssql-mcp-server/tests/test_endpoint_validation.py:185
← previous
next →
33,901–34,000 of 35,417, ranked by callers