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_invalid_enums
Test invalid operation and return_type in one test.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:311
Method
test_validate_invalid_field_names
Test validation when invalid field names are used.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_usage_data_validator.py:195
Method
test_validate_invalid_field_type
Test that field type must be valid.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:187
Method
test_validate_invalid_json
Test validation with invalid JSON.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_usage_data_validator.py:76
Method
test_validate_invalid_json
Test that validation fails gracefully for invalid JSON.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:522
Method
test_validate_invalid_operation_type
Test that invalid operation type is rejected.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:179
Method
test_validate_invalid_parameter_type
Test that invalid parameter types are rejected.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:344
Method
test_validate_invalid_parameter_type
Test that parameter type must be valid.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:379
Method
test_validate_invalid_range_condition
Test validation fails for invalid range condition.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_range_query_validator.py:34
Method
test_validate_iso8601_duration_invalid
Test invalid ISO 8601 duration validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:517
Method
test_validate_iso8601_duration_valid
Test valid ISO 8601 duration validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:504
Method
test_validate_issue_type_invalid
Test that _validate_issue_type rejects invalid issue types.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:1464
Method
test_validate_issue_type_valid
Test that _validate_issue_type accepts valid issue types.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:1446
Method
test_validate_java_executable_invalid
Test invalid executable.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:1810
Method
test_validate_java_executable_valid
Test valid Java executables.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:1804
Method
test_validate_json_string_invalid
Test JSON string validation catches dangerous patterns.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:441
Method
test_validate_json_string_valid
Test JSON string validation for valid inputs.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:436
Method
test_validate_language_code
Test language code validation.
src/amazon-translate-mcp-server/tests/test_terminology_manager.py:569
Method
test_validate_language_invalid
Test that _validate_language rejects invalid language codes.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:1504
Method
test_validate_language_pair_auto_detect
Test language pair validation with auto-detect.
src/amazon-translate-mcp-server/tests/test_language_operations.py:268
Method
test_validate_language_pair_empty_languages
Test language pair validation with empty language codes.
src/amazon-translate-mcp-server/tests/test_language_operations.py:298
Method
test_validate_language_pair_real_execution
Test validate_language_pair method with real code execution.
src/amazon-translate-mcp-server/tests/test_language_operations_coverage.py:588
Method
test_validate_language_pair_same_languages
Test language pair validation with same source and target.
src/amazon-translate-mcp-server/tests/test_language_operations.py:305
Method
test_validate_language_pair_success
Test successful language pair validation.
src/amazon-translate-mcp-server/tests/test_language_operations.py:253
Method
test_validate_language_pair_unsupported
Test language pair validation with unsupported pair.
src/amazon-translate-mcp-server/tests/test_language_operations.py:283
Method
test_validate_language_valid
Test that _validate_language accepts valid language codes.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:1489
Function
test_validate_leading_digit_rejected
Table name starting with a digit is rejected.
src/oracle-mcp-server/tests/test_server.py:139
Function
test_validate_leading_digit_rejected
Identifiers starting with a digit are rejected.
src/mssql-mcp-server/tests/test_server.py:101
Method
test_validate_linter_command_allows_ruff
Test that _validate_linter_command allows ruff.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_codegen.py:601
Method
test_validate_linter_command_allows_ruff_exe
Test that _validate_linter_command allows ruff.exe on Windows.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_codegen.py:607
Method
test_validate_linter_command_blocks_disallowed_commands
Test that _validate_linter_command blocks disallowed commands.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_codegen.py:612
Method
test_validate_linter_command_blocks_path_traversal
Test that _validate_linter_command blocks path traversal attempts.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_codegen.py:626
Method
test_validate_linter_command_invalid_input
Test that _validate_linter_command handles invalid input.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_codegen.py:632
Method
test_validate_local_path_normpath_traversal
validate_local_path catches traversal via os.path.normpath. Paths like 'foo/bar/../../etc/passwd' where '..' is not caught by the sim
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:1160
Method
test_validate_log_group_parameters_both_provided
Test validation when both parameters are provided - should raise error.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_error_handling.py:36
Method
test_validate_log_group_parameters_neither_provided
Test validation when neither parameter is provided - should raise error.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_error_handling.py:49
Method
test_validate_log_group_parameters_valid_cases
Test validation with valid parameter combinations.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_error_handling.py:62
Method
test_validate_lookback_window_invalid
Test invalid lookback window validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:543
Method
test_validate_lookback_window_valid
Test valid lookback window validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:535
Method
test_validate_main_table_range_query_exception_handling
Test exception handling in _validate_main_table_range_query (line 593).
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:1144
Method
test_validate_mappings_all_valid
Test validation passes when all GSI mappings reference valid GSIs.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:94
Method
test_validate_mappings_multiple_invalid
Test validation with multiple invalid GSI references.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:102
Method
test_validate_max_results
Test validate_max_results function.
src/cloudtrail-mcp-server/tests/test_server.py:81
Method
test_validate_max_results_invalid
Test max_results validation with invalid values.
src/amazon-qindex-mcp-server/tests/test_clients.py:125
Method
test_validate_max_results_invalid
Test invalid max results validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:167
Method
test_validate_max_results_invalid
Test invalid max results validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:866
Method
test_validate_max_results_valid
Test valid max results validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:162
Method
test_validate_max_results_valid
Test valid max results validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:855
Method
test_validate_mcp_server_version_tag_empty_tags
Test validate_mcp_server_version_tag with empty tags.
src/amazon-sns-sqs-mcp-server/tests/test_common.py:28
Method
test_validate_mcp_server_version_tag_with_tag
Test validate_mcp_server_version_tag with tag present.
src/amazon-sns-sqs-mcp-server/tests/test_common.py:12
Method
test_validate_mcp_server_version_tag_without_tag
Test validate_mcp_server_version_tag with tag missing.
src/amazon-sns-sqs-mcp-server/tests/test_common.py:20
Method
test_validate_missing_entities_key
Test validation when 'entities' key is missing.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_usage_data_validator.py:102
Method
test_validate_missing_environment_no_name
Test error when environment missing and no service name.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:412
Method
test_validate_missing_file
Test validation with non-existent usage_data file.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_usage_data_validator.py:66
Method
test_validate_missing_pk_template_with_guidance
Test that missing pk_template provides template-specific guidance (lines 180-181).
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:1084
Method
test_validate_missing_required_entities
Test validation when required entities are missing.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_usage_data_validator.py:118
Method
test_validate_missing_required_sections
Test validation when required sections are missing.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_usage_data_validator.py:143
Method
test_validate_multiple_duplicates
Test validation with multiple duplicate GSI names.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:69
Method
test_validate_multiple_errors_reported_together
Test that multiple validation errors are reported together in a single validation run.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:400
Method
test_validate_name_both_filters
Test name validation with both prefix and list filters.
src/stepfunctions-tool-mcp-server/tests/test_validate_state_machine_name.py:77
Method
test_validate_name_edge_cases
Test edge cases for name validation.
src/stepfunctions-tool-mcp-server/tests/test_validate_state_machine_name.py:95
Method
test_validate_name_empty_filters
Test name validation with explicitly empty filters.
src/stepfunctions-tool-mcp-server/tests/test_validate_state_machine_name.py:121
Method
test_validate_name_list_filter
Test name validation with list filter.
src/stepfunctions-tool-mcp-server/tests/test_validate_state_machine_name.py:56
Method
test_validate_name_no_filters
Test name validation with no filters configured.
src/stepfunctions-tool-mcp-server/tests/test_validate_state_machine_name.py:15
Method
test_validate_name_prefix_filter
Test name validation with prefix filter.
src/stepfunctions-tool-mcp-server/tests/test_validate_state_machine_name.py:34
Method
test_validate_next_token_invalid
Test invalid next token validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:834
Method
test_validate_next_token_valid
Test valid next token validation.
src/aws-iot-sitewise-mcp-server/tests/test_validation_utils.py:821
Method
test_validate_no_credentials
Test that validate returns False when no credentials are found.
src/prometheus-mcp-server/tests/test_aws_credentials.py:71
Method
test_validate_no_credentials_error
Test that validate returns False when NoCredentialsError is raised.
src/prometheus-mcp-server/tests/test_aws_credentials.py:85
Method
test_validate_non_json_value_error
Test validation with a file that raises ValueError (non-JSON error path, line 70).
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_usage_data_validator.py:401
Method
test_validate_non_service_target_warning
Test warning for non-service targets.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:432
Method
test_validate_non_string_range_condition
Test validation fails for non-string range condition.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_range_query_validator.py:46
Function
test_validate_none_rejected
None is rejected.
src/oracle-mcp-server/tests/test_server.py:129
Function
test_validate_none_rejected
None is rejected.
src/mssql-mcp-server/tests/test_server.py:91
Method
test_validate_not_dict
Test validation when root is not a dictionary.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_usage_data_validator.py:89
Method
test_validate_openapi_spec_missing_info
Test validation with missing info field.
src/openapi-mcp-server/tests/utils/test_openapi_validator.py:44
Method
test_validate_openapi_spec_missing_openapi
Test validation with missing openapi field.
src/openapi-mcp-server/tests/utils/test_openapi_validator.py:36
Method
test_validate_openapi_spec_missing_paths
Test validation with missing paths field.
src/openapi-mcp-server/tests/utils/test_openapi_validator.py:52
Method
test_validate_openapi_spec_unsupported_version
Test validation with unsupported OpenAPI version.
src/openapi-mcp-server/tests/utils/test_openapi_validator.py:60
Method
test_validate_openapi_spec_valid
Test validation of a valid OpenAPI spec.
src/openapi-mcp-server/tests/utils/test_openapi_validator.py:27
Method
test_validate_openapi_spec_with_openapi_core
Test validation using openapi-core if available.
src/openapi-mcp-server/tests/utils/test_openapi_validator.py:70
Method
test_validate_openapi_spec_with_openapi_core_exception
Test validation when openapi-core raises an exception.
src/openapi-mcp-server/tests/utils/test_openapi_validator.py:95
Method
test_validate_openapi_spec_with_openapi_spec_class
Test validation using OpenAPISpec class if available.
src/openapi-mcp-server/tests/utils/test_openapi_validator.py:120
Method
test_validate_openapi_spec_with_spec_class
Test validation using Spec class if available.
src/openapi-mcp-server/tests/utils/test_openapi_validator.py:157
Method
test_validate_openapi_spec_with_unsupported_openapi_core
Test validation with unsupported openapi-core version.
src/openapi-mcp-server/tests/utils/test_openapi_validator.py:190
Function
test_validate_output_default_true
validate_output defaults to True.
src/openapi-mcp-server/tests/test_new_features.py:264
Function
test_validate_output_dir_outside_base
Test validate_output_dir blocks paths outside base directory.
src/document-loader-mcp-server/tests/test_server.py:1084
Function
test_validate_output_dir_within_base
Test validate_output_dir allows paths within base directory.
src/document-loader-mcp-server/tests/test_server.py:1076
Function
test_validate_output_false_creates_server
Server starts successfully with validate_output=False.
src/openapi-mcp-server/tests/test_new_features.py:271
Method
test_validate_output_file_raises_error_for_relative_paths_outside_workdir
Test that _validate_output_file raises FileParameterError for relative paths resolved outside working directory.
src/aws-api-mcp-server/tests/parser/test_parser_file_access.py:123
Function
test_validate_output_true_creates_server
Server starts successfully with validate_output=True (default).
src/openapi-mcp-server/tests/test_new_features.py:445
Method
test_validate_parameter_count_invalid
Test validation fails for incorrect parameter count.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:206
Method
test_validate_parameter_count_valid
Test validation passes for correct parameter count.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:192
Method
test_validate_parameter_missing_required_fields
Test that parameters with missing required fields are rejected.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:381
Method
test_validate_parameter_not_dict
Test that each parameter must be a dictionary.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_validator.py:345
Method
test_validate_parameter_type_mismatch_with_field
Test that parameter type must match entity field type.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_cross_table_validation.py:486
Method
test_validate_parameters_all_valid
Test validation when all parameters exist in entity fields.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_key_template_parser.py:85
Method
test_validate_parameters_empty_fields
Test validation with empty entity fields.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_key_template_parser.py:104
Method
test_validate_parameters_missing_field
Test validation when parameter doesn't exist in entity fields.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_key_template_parser.py:89
Method
test_validate_parameters_multiple_missing
Test validation when multiple parameters are missing.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_key_template_parser.py:96
← previous
next →
34,101–34,200 of 35,417, ranked by callers