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
Function
test_check_security_services_error
Test the check_security_services function when an error occurs.
src/well-architected-security-mcp-server/tests/test_server.py:112
Function
test_check_security_services_with_account_id
Test the check_security_services function with an account_id.
src/well-architected-security-mcp-server/tests/test_server_additional.py:95
Function
test_check_security_services_with_aws_profile
Test the check_security_services function with an aws_profile.
src/well-architected-security-mcp-server/tests/test_server_additional.py:123
Function
test_check_security_services_with_debug_false
Test the check_security_services function with debug=False.
src/well-architected-security-mcp-server/tests/test_server_additional.py:35
Function
test_check_security_services_with_no_services
Test the check_security_services function with no services.
src/well-architected-security-mcp-server/tests/test_server_additional.py:151
Function
test_check_security_services_with_unknown_service
Test the check_security_services function with an unknown service.
src/well-architected-security-mcp-server/tests/test_server_additional.py:73
Function
test_check_soffice_available
Test _check_soffice_available returns None when soffice is found.
src/document-loader-mcp-server/tests/test_server.py:759
Function
test_check_soffice_not_available
Test _check_soffice_available returns error when soffice is missing.
src/document-loader-mcp-server/tests/test_server.py:768
Method
test_check_status_empty_config_reports_not_found
An empty Configuration block surfaces a no-instrumentation error.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:3879
Method
test_check_status_missing_created_at
A configuration lacking CreatedAt surfaces a created_at error.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:3896
Method
test_check_status_with_time_range_gateway_error
_check_status_with_time_range maps a GatewayError to an API error string.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:3832
Method
test_check_storage_configuration_adaptive_ingestion_enabled
Test that validation passes when adaptive ingestion is enabled.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:501
Method
test_check_storage_configuration_api_exception
Test validation handles API exceptions properly.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:597
Method
test_check_storage_configuration_default_storage_no_warm_tier_key
Test validation fails with default storage and missing warm tier key.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:533
Method
test_check_storage_configuration_default_storage_with_warm_tier
Test validation passes with default storage and warm tier enabled.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:508
Method
test_check_storage_configuration_default_storage_without_warm_tier
Test validation fails with default storage and no warm tier.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:519
Method
test_check_storage_configuration_multilayer_storage_missing_s3
Test validation fails with multi-layer storage missing S3 config.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:562
Method
test_check_storage_configuration_multilayer_storage_no_multilayer_key
Test validation fails with multi-layer storage type but missing config.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:575
Method
test_check_storage_configuration_multilayer_storage_valid
Test validation passes with properly configured multi-layer storage.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:546
Method
test_check_storage_configuration_unknown_storage_type
Test validation fails with unknown storage type.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:587
Method
test_check_storage_configuration_validation_error_passthrough
Test that ValidationError exceptions are passed through unchanged.
src/aws-iot-sitewise-mcp-server/tests/test_validation.py:607
Function
test_check_storage_encryption_empty_services
Test checking storage encryption with empty services list.
src/well-architected-security-mcp-server/tests/test_storage_security_comprehensive.py:306
Function
test_check_storage_encryption_find_resources_error
Test checking storage encryption when find_storage_resources returns error.
src/well-architected-security-mcp-server/tests/test_storage_security_comprehensive.py:235
Function
test_check_storage_encryption_include_unencrypted_only
Test checking storage encryption with include_unencrypted_only=True.
src/well-architected-security-mcp-server/tests/test_storage_security.py:496
Function
test_check_storage_encryption_multiple_services
Test checking storage encryption with multiple services.
src/well-architected-security-mcp-server/tests/test_storage_security_comprehensive.py:27
Function
test_check_storage_encryption_no_resources_found
Test checking storage encryption when no resources are found.
src/well-architected-security-mcp-server/tests/test_storage_security_comprehensive.py:334
Function
test_check_storage_encryption_service_check_error
Test checking storage encryption when service check function returns error.
src/well-architected-security-mcp-server/tests/test_storage_security_comprehensive.py:262
Function
test_check_storage_encryption_success
Test successful checking of storage encryption.
src/well-architected-security-mcp-server/tests/test_storage_security.py:444
Function
test_check_storage_encryption_tool
Test the check_storage_encryption_tool function.
src/well-architected-security-mcp-server/tests/test_server.py:304
Function
test_check_storage_encryption_tool_error
Test the check_storage_encryption_tool function when an error occurs.
src/well-architected-security-mcp-server/tests/test_server.py:360
Function
test_check_storage_encryption_tool_with_include_unencrypted_only
Test the check_storage_encryption_tool function with include_unencrypted_only=True.
src/well-architected-security-mcp-server/tests/test_server_additional.py:294
Function
test_check_storage_encryption_unsupported_service
Test checking storage encryption with unsupported service.
src/well-architected-security-mcp-server/tests/test_storage_security_comprehensive.py:204
Function
test_check_storage_encryption_with_botocore_error
Test check_storage_encryption when BotoCoreError occurs.
src/well-architected-security-mcp-server/tests/test_storage_security_edge_cases.py:536
Function
test_check_storage_encryption_with_efs_and_elasticache
Test checking storage encryption with EFS and ElastiCache services.
src/well-architected-security-mcp-server/tests/test_storage_security_comprehensive.py:134
Function
test_check_storage_security_prompt
Test the check_storage_security_prompt function.
src/well-architected-security-mcp-server/tests/test_server_prompts.py:55
Function
test_check_storage_security_prompt
Test the check_storage_security_prompt function.
src/well-architected-security-mcp-server/tests/test_server_coverage.py:44
Function
test_check_target_group_health_client_error
Test handling ClientError in target group health check.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_service_events.py:171
Function
test_check_target_group_health_empty_response
Test checking target group health with empty response.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_service_events.py:137
Function
test_check_target_group_health_healthy
Test checking target group health with all healthy targets.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_service_events.py:124
Function
test_check_target_group_health_no_targets
Test checking target group health with empty targets list.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_service_events.py:154
Function
test_check_target_group_health_unhealthy
Test checking target group health with unhealthy targets.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_service_events.py:109
Method
test_check_template_is_pure_numeric_false_cases
Test cases that should return False for pure numeric check.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:406
Method
test_check_template_is_pure_numeric_true_cases
Test that pure numeric field references return True.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:398
Method
test_check_template_is_pure_numeric_with_non_numeric_field
Test _check_template_is_pure_numeric returns False for non-numeric fields.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:1601
Function
test_check_transaction_search_enabled
Test checking transaction search status.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server.py:457
Function
test_check_transaction_search_enabled_error
Test checking transaction search with error.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server.py:485
Function
test_check_transaction_search_enabled_not_active
Test checking transaction search when not active.
src/cloudwatch-applicationsignals-mcp-server/tests/test_server.py:471
Function
test_check_trusted_advisor_accessible
Test the check_trusted_advisor function when Trusted Advisor is accessible.
src/well-architected-security-mcp-server/tests/test_security_services.py:560
Function
test_check_trusted_advisor_api_error
Test Trusted Advisor when API call fails.
src/well-architected-security-mcp-server/tests/test_security_services_coverage.py:755
Function
test_check_trusted_advisor_error
Test the check_trusted_advisor function when an error occurs.
src/well-architected-security-mcp-server/tests/test_security_services.py:616
Function
test_check_trusted_advisor_subscription_required
Test the check_trusted_advisor function when subscription is required.
src/well-architected-security-mcp-server/tests/test_security_services.py:597
Function
test_check_trusted_advisor_subscription_required
Test Trusted Advisor when subscription is required.
src/well-architected-security-mcp-server/tests/test_security_services_coverage.py:194
Function
test_check_vpc_endpoints_api_error
Test handling of API errors in check_vpc_endpoints.
src/well-architected-security-mcp-server/tests/test_network_security_additional.py:449
Function
test_check_vpc_endpoints_fallback_to_direct_api
Test fallback to direct API call when Resource Explorer results are not available.
src/well-architected-security-mcp-server/tests/test_network_security_additional.py:480
Function
test_check_vpc_endpoints_gateway_endpoint
Test checking Gateway VPC endpoint.
src/well-architected-security-mcp-server/tests/test_network_security_additional.py:504
Function
test_check_vpc_endpoints_private_dns_disabled
Test checking VPC endpoints with private DNS disabled.
src/well-architected-security-mcp-server/tests/test_network_security.py:533
Function
test_check_vpc_endpoints_success
Test successful checking of VPC endpoints.
src/well-architected-security-mcp-server/tests/test_network_security.py:507
Method
test_checkov_available
Test when Checkov is available (normal case).
src/ccapi-mcp-server/tests/test_checkov_install.py:11
Method
test_checkov_command_fails
Test when Checkov command fails.
src/ccapi-mcp-server/tests/test_checkov_install.py:39
Method
test_checkov_not_found
Test when Checkov is not found (should not happen with proper dependency).
src/ccapi-mcp-server/tests/test_checkov_install.py:28
Function
test_checksum_unavailable_raises_exception
Checksum file fetch fails (e.g., 404) — retries are exhausted then error propagates. Network and HTTP errors are now retried. If all attempts fai
src/roda-mcp-server/tests/test_checksum_validation.py:126
Function
test_checksum_validation_failure
Checksum never matches after all retries — raises ChecksumValidationError. The implementation retries up to 2 times (3 total attempts), sleeping
src/roda-mcp-server/tests/test_checksum_validation.py:82
Function
test_checksum_validation_success
Checksum matches on first attempt — datasets are parsed and returned.
src/roda-mcp-server/tests/test_checksum_validation.py:52
Method
test_chunking_over_50_log_groups
More than 50 log groups should produce multiple chunks.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:176
Method
test_ci_get_case_insensitive_match
Test case insensitive key match.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:39
Method
test_ci_get_empty_dict
Test with empty dictionary.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:57
Method
test_ci_get_exact_match
Test exact key match.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:33
Method
test_ci_get_multiple_names
Test with multiple possible names.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:45
Method
test_ci_get_not_found
Test when key is not found.
src/cloudwatch-applicationsignals-mcp-server/tests/test_service_audit_utils.py:51
Function
test_clamp_efficiency_time_span_unit
Direct unit coverage of the clamp helper (start-to-now limit) across edges.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_tools.py:1161
Method
test_clamps_above_maximum
(self, mock_sleep, handler, ctx)
src/aws-transform-mcp-server/tests/test_adaptive_poll.py:76
Method
test_clamps_below_minimum
(self, mock_sleep, handler, ctx)
src/aws-transform-mcp-server/tests/test_adaptive_poll.py:66
Method
test_clamps_out_of_range_count_from_next_link
Security regression test. If HealthLake's ``next`` link emits a ``_count`` outside the documented 1–100 range (or a non-integer), fal
src/healthlake-mcp-server/tests/test_pagination_hardening.py:304
Method
test_class_definition_coverage
Test class definitions and docstrings.
src/openapi-mcp-server/tests/test_coverage_boost.py:54
Function
test_classification_has_no_stale_entries
Every classified name still exists, so renames and removals surface here.
src/postgres-mcp-server/tests/test_sql_guard_read_only_corpus.py:244
Method
test_classifies_aws_region_errors
Service and transport failures remain machine-readable by region.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:1557
Function
test_clean_datetime_objects
Test the _clean_datetime_objects function.
src/well-architected-security-mcp-server/tests/test_security_services.py:47
Function
test_clean_description
Test cleaning description.
src/aws-api-mcp-server/tests/common/test_help_command.py:28
Method
test_clean_filter_passes
Normal filter expressions should not be rejected.
src/valkey-mcp-server/tests/test_search_query.py:211
Method
test_clean_role_no_warning
A non-superuser role produces no warning under warn.
src/postgres-mcp-server/tests/test_privilege_guardrail.py:281
Method
test_clean_role_response_has_no_advisory
A clean (least-privilege) role produces no advisory in the response.
src/postgres-mcp-server/tests/test_server_error_handling.py:791
Method
test_clean_role_sets_flag_false
A role with none of the over-privileged attributes is flagged False.
src/postgres-mcp-server/tests/test_privilege_guardrail.py:392
Method
test_clean_role_validated_and_retained_under_enforce
A fresh clean role passes the real guardrail under enforce and is retained.
src/postgres-mcp-server/tests/test_server_error_handling.py:652
Function
test_clean_text
Test cleaning text.
src/aws-api-mcp-server/tests/common/test_help_command.py:22
Method
test_clean_up_pattern_empty_logsamples
Test clean_up_pattern function with empty @logSamples.
src/cloudwatch-mcp-server/tests/test_common_and_server.py:117
Method
test_clean_up_pattern_missing_logsamples
Test clean_up_pattern function when @logSamples is missing.
src/cloudwatch-mcp-server/tests/test_common_and_server.py:101
Method
test_clean_up_pattern_multiple_entries
Test clean_up_pattern with multiple entries.
src/cloudwatch-mcp-server/tests/test_common_and_server.py:257
Method
test_clean_up_pattern_with_logsamples
Test clean_up_pattern function with @logSamples - covers line 37 in common.py.
src/cloudwatch-mcp-server/tests/test_common_and_server.py:74
Method
test_cleanup
Test cleaning up expired items.
src/openapi-mcp-server/tests/auth/test_auth_cache.py:133
Method
test_cleanup_all_connections_on_shutdown
Test cleaning up all connections during shutdown.
src/postgres-mcp-server/tests/test_db_connection_map.py:991
Method
test_cleanup_auto_stop_case_insensitive
AUTO_STOP_SESSIONS=True (mixed case) triggers stop.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_init.py:62
Method
test_cleanup_auto_stop_false_clears_clients
AUTO_STOP_SESSIONS=false just clears client caches.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_init.py:52
Method
test_cleanup_auto_stop_true_stops_sessions
AUTO_STOP_SESSIONS=true stops all sessions before clearing.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_init.py:42
Method
test_cleanup_cache_by_size_no_cleanup_needed
Test that size-based cleanup does nothing when cache is under limit.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:710
Method
test_cleanup_cache_by_size_result_cache
Test size-based cache cleanup for result cache.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:676
Method
test_cleanup_cache_by_size_tag_cache
Test size-based cache cleanup for tag cache.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:644
Method
test_cleanup_called_twice_is_noop_second_time
Second cleanup() call is a no-op.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_server_integration.py:301
Method
test_cleanup_default_clears_clients
Default (AUTO_STOP_SESSIONS unset) just clears client caches.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_init.py:32
Method
test_cleanup_disconnect_raises
Cleanup catches exception when disconnect itself raises.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:505
Method
test_cleanup_disconnects_all
Cleanup disconnects all sessions and stops Playwright.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:263
← previous
next →
11,801–11,900 of 32,024, ranked by callers