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_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_tables.py:461
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_tables.py:522
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_tables.py:579
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_tables.py:666
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_tables.py:724
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_s3_operations.py:114
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_table_buckets.py:94
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_table_buckets.py:185
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_table_buckets.py:242
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_table_buckets.py:307
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_table_buckets.py:361
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_table_buckets.py:427
Method
test_exception_handling
Test that exceptions are handled by the decorator.
src/s3-tables-mcp-server/tests/test_table_buckets.py:497
Method
test_exception_in_try_except
Test that NeptuneException can be used in a try-except block. This test verifies that: 1. NeptuneException can be raised and caught
src/amazon-neptune-mcp-server/tests/test_exceptions.py:144
Method
test_exception_inheritance
Test that NeptuneException inherits from Exception. This test verifies that: 1. NeptuneException is a subclass of Exception 2.
src/amazon-neptune-mcp-server/tests/test_exceptions.py:124
Method
test_exception_mapping_edge_cases
Test exception mapping edge cases.
src/amazon-translate-mcp-server/tests/test_edge_cases_and_error_handling.py:135
Method
test_exception_marks_job_failed_with_redacted_result
On exception, state -> failed and result reveals only the exception type. The async_job_status entry is read by the LLM via get_job_status, s
src/mysql-mcp-server/tests/test_server.py:242
Method
test_exception_on_page_two_propagates
(self, mock_fes)
src/aws-transform-mcp-server/tests/test_paginate_all.py:97
Method
test_exception_prints_url
(self, _mock_popen, _mock_system, capsys)
src/aws-transform-mcp-server/tests/test_oauth.py:292
Method
test_exception_properties
Test exception properties.
src/amazon-translate-mcp-server/tests/test_missing_line_coverage.py:308
Method
test_exception_returns_error_dict
Decorated function should return error dict on exception.
src/dynamodb-mcp-server/tests/test_common.py:122
Method
test_exception_returns_false_after_log
An exception during the health probe is logged and reported as unhealthy.
src/mysql-mcp-server/tests/test_asyncmy_connector.py:1100
Method
test_exception_returns_zero
Swallow errors from list_services and return zero.
src/cloudwatch-applicationsignals-mcp-server/tests/test_state.py:144
Method
test_exception_stores_available_methods
(self)
src/aws-transform-mcp-server/tests/test_auth_conflict.py:8
Method
test_exception_to_response_conversion
Test complete exception to response conversion.
src/amazon-translate-mcp-server/tests/test_exceptions.py:302
Method
test_exception_with_all_parameters
Test exception creation with all parameters.
src/amazon-translate-mcp-server/tests/test_exceptions.py:87
Method
test_exception_with_arguments_returns_error
Decorated function with args should return error dict on exception.
src/dynamodb-mcp-server/tests/test_common.py:160
Method
test_exception_with_call_path
Render an exception incident with its call tree.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:554
Method
test_exception_with_kwargs_returns_error
Decorated function with kwargs should return error dict on exception.
src/dynamodb-mcp-server/tests/test_common.py:173
Method
test_exception_without_space_keeps_full_string
An exception label with no space uses the full string as the short name.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_query.py:290
Method
test_exclude_disabled
Test listing schedules excluding disabled ones.
src/aws-for-sap-management-mcp-server/tests/test_scheduling.py:238
Method
test_exclude_free_products_by_price
Test filtering based on different price values.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:585
Method
test_exclude_free_products_combined_with_other_filters
Test free product filtering works with other OutputOptions.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:684
Method
test_exclude_free_products_malformed_data
Test handling of malformed pricing structures.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:666
Method
test_exclude_free_products_mixed_data
Test filtering with mix of free and paid products.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:595
Method
test_exclude_free_products_mixed_pricing_dimensions
Test product with both free and paid pricing dimensions is kept.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:611
Method
test_exclude_free_products_no_ondemand_terms
Test products without OnDemand terms are always kept.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:639
Method
test_exclude_free_products_option_behavior
Test exclude_free_products option with free product.
src/aws-pricing-mcp-server/tests/test_pricing_transformer.py:563
Function
test_exclude_tags_hides_matching
Operations with excluded tags are hidden.
src/openapi-mcp-server/tests/test_new_features.py:171
Method
test_excludes_next_token_when_absent
When API response does not contain nextToken, tool response omits it. Validates: pagination token omitted when absent from API response
src/aws-healthomics-mcp-server/tests/test_run_group.py:464
Method
test_excluding_a_plan_models_an_expiry
SavingsPlansToExclude takes plan ARNs and reaches the config unchanged.
src/billing-cost-management-mcp-server/tests/tools/test_sp_purchase_analyzer_tools.py:152
Function
test_execute_access_patterns_exception_handling
Test execute_access_patterns exception handling.
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:757
Function
test_execute_access_patterns_missing_implementation
Test execute_access_patterns with patterns missing implementation.
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:744
Function
test_execute_access_patterns_success
Test execute_access_patterns with successful execution.
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:707
Method
test_execute_action_client_error
Test action execution with client error.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:98
Method
test_execute_action_custom_validation_error
Test execute_action CustomValidationError handling (line 123).
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:1026
Method
test_execute_action_request_validation
Test ExecuteActionRequest validation.
src/aws-iot-sitewise-mcp-server/tests/models/test_computation_data_models.py:737
Method
test_execute_action_success
Test successful action execution.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:45
Method
test_execute_action_validation_error
Test execute_action with validation error.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:819
Method
test_execute_action_with_all_params
Test action execution with all optional parameters.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:70
Method
test_execute_audit_api_batch_errors_aggregation
Test that failed batch errors are properly aggregated in ListAuditFindingsErorrs.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:151
Method
test_execute_audit_api_error_handling
Test API execution with error handling.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:123
Method
test_execute_audit_api_log_path_exception
Test log path handling when directory creation fails.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:180
Method
test_execute_audit_api_log_path_handling
Test log path handling with different environment variables.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:136
Method
test_execute_audit_api_multiple_batches
Test API execution with multiple batches.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:80
Method
test_execute_audit_api_no_findings
Test API execution with no findings.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:108
Method
test_execute_audit_api_success_single_batch
Test successful API execution with single batch.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:60
Function
test_execute_awscli_customization_error
Test execute_awscli_customization raises AwsApiMcpError on exception.
src/aws-api-mcp-server/tests/aws/test_service.py:497
Function
test_execute_awscli_customization_raises_error
Test execute_awscli_customization raises AwsApiMcpError for streaming to stdout.
src/aws-api-mcp-server/tests/aws/test_service.py:777
Function
test_execute_awscli_customization_success
Test execute_awscli_customization returns AwsCliAliasResponse on successful execution.
src/aws-api-mcp-server/tests/aws/test_service.py:471
Function
test_execute_awscli_customization_uses_explicit_region_overrides_ir
Test that execute_awscli_customization uses explicit region over IR region and default.
src/aws-api-mcp-server/tests/aws/test_service.py:675
Function
test_execute_awscli_customization_with_credentials
Test that execute_awscli_customization uses provided credentials.
src/aws-api-mcp-server/tests/aws/test_service.py:713
Function
test_execute_awscli_customization_without_credentials
Test that execute_awscli_customization works without credentials.
src/aws-api-mcp-server/tests/aws/test_service.py:746
Method
test_execute_code_failure
Test executing code that fails returns is_error=True.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:90
Method
test_execute_code_happy_path
Test executing code returns correct response.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:33
Method
test_execute_code_sdk_exception
Test SDK exception raises as infrastructure error.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:107
Method
test_execute_code_string_result
Test handles string result from SDK.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:123
Method
test_execute_code_unregistered_session_raises
Test executing code on unregistered session raises KeyError.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:139
Method
test_execute_code_with_clear_context
Test executing code with clear_context flag.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:74
Method
test_execute_code_with_language
Test executing code with a specific language.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:55
Method
test_execute_command_failure
Test command failure returns is_error=True.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:178
Method
test_execute_command_happy_path
Test executing a shell command returns correct response.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:157
Method
test_execute_command_rejects_docker_command
Test execute_command rejects docker command.
src/finch-mcp-server/tests/test_utils_common.py:130
Method
test_execute_command_rejects_empty_command
Test execute_command rejects empty command list.
src/finch-mcp-server/tests/test_utils_common.py:117
Method
test_execute_command_rejects_non_finch_commands
Test execute_command rejects non-finch commands.
src/finch-mcp-server/tests/test_utils_common.py:104
Method
test_execute_command_sdk_exception
Test SDK exception raises as infrastructure error.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_execution.py:198
Method
test_execute_command_with_custom_env
Test execute_command with custom environment.
src/finch-mcp-server/tests/test_utils_common.py:39
Method
test_execute_command_with_dangerous_pattern
Test that execute_command raises ValueError with dangerous patterns.
src/finch-mcp-server/tests/test_utils_common.py:189
Method
test_execute_command_with_debug_logging
Test execute_command with debug logging enabled.
src/finch-mcp-server/tests/test_utils_common.py:59
Method
test_execute_command_with_default_env
Test execute_command with default environment.
src/finch-mcp-server/tests/test_utils_common.py:17
Method
test_execute_command_with_error
Test execute_command with command error.
src/finch-mcp-server/tests/test_utils_common.py:86
Method
test_execute_command_with_non_finch_command
Test that execute_command raises ValueError with non-finch commands.
src/finch-mcp-server/tests/test_utils_common.py:199
Method
test_execute_command_with_safe_command
Test that execute_command works with safe commands.
src/finch-mcp-server/tests/test_utils_common.py:171
Function
test_execute_dynamodb_command_edge_cases
Test _execute_dynamodb_command edge cases.
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:1073
Function
test_execute_dynamodb_command_exception_handling
Test _execute_dynamodb_command exception handling.
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:694
Function
test_execute_dynamodb_command_invalid_command
Test _execute_dynamodb_command with invalid command raises ValueError.
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:652
Function
test_execute_dynamodb_command_valid_command
Test _execute_dynamodb_command with valid DynamoDB command.
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:636
Function
test_execute_dynamodb_command_with_endpoint_sets_env_vars
Test that _execute_dynamodb_command sets AWS environment variables when endpoint_url is provided.
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:673
Function
test_execute_dynamodb_command_without_endpoint
Test _execute_dynamodb_command without endpoint URL.
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:659
Method
test_execute_error_classified_by_exception_class
A real SQLite failure classifies by its exception class name.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:509
Method
test_execute_inference_action_custom_validation_error
Test execute_inference_action CustomValidationError handling (line 622).
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:1084
Method
test_execute_inference_action_execute_action_failure
Test inference action when underlying execute_action fails.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:741
Method
test_execute_inference_action_generic_exception
Test execute_inference_action with generic exception.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:883
Method
test_execute_inference_action_minimal_params
Test inference action with minimal parameters for STOP mode.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:791
Method
test_execute_inference_action_start_success
Test successful inference action execution in START mode.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:438
Method
test_execute_inference_action_stop_mode
Test inference action in STOP mode.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:504
Method
test_execute_inference_action_with_all_params
Test inference action with all optional parameters.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_executions.py:468
Method
test_execute_is_detected
``EXECUTE s`` — dynamic SQL fire.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:522
Method
test_execute_log_insights_query_api_error
Test execute_log_insights_query with API error - covers lines 455-458.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_error_handling.py:173
Method
test_execute_log_insights_query_region_parameter
Test that execute_log_insights_query uses correct region for client creation.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_error_handling.py:428
← previous
next →
16,201–16,300 of 32,024, ranked by callers