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_dict_without_qt_refresh_unchanged
(self)
src/aws-transform-mcp-server/tests/test_hitl_schemas.py:714
Method
test_diff_scan_agent_space_gone
Agent space that no longer exists returns error.
src/security-agent-mcp-server/tests/test_scanner.py:1083
Method
test_diff_scan_branch_ref
Uses 'git diff base_ref' and 'git archive base_ref' for branch mode.
src/security-agent-mcp-server/tests/test_scanner.py:692
Method
test_diff_scan_empty_diff
Returns error when there are no changes to scan.
src/security-agent-mcp-server/tests/test_scanner.py:578
Method
test_diff_scan_git_failure
Returns error when git diff fails (e.g., bad ref).
src/security-agent-mcp-server/tests/test_scanner.py:593
Method
test_diff_scan_git_not_installed
Returns error when git binary is missing.
src/security-agent-mcp-server/tests/test_scanner.py:609
Method
test_diff_scan_no_bucket
Missing s3_bucket returns error.
src/security-agent-mcp-server/tests/test_scanner.py:1066
Method
test_diff_scan_not_configured
Returns error when setup is not complete.
src/security-agent-mcp-server/tests/test_scanner.py:623
Method
test_diff_scan_recreates_code_review_if_deleted
If StartCodeReviewJob fails with ResourceNotFoundException, recreates the CodeReview.
src/security-agent-mcp-server/tests/test_scanner.py:738
Method
test_diff_scan_rejects_empty_base_ref
An empty/whitespace base_ref is rejected before any git subprocess runs.
src/security-agent-mcp-server/tests/test_scanner.py:666
Method
test_diff_scan_rejects_option_like_base_ref
A base_ref beginning with '-' is rejected before any git subprocess runs.
src/security-agent-mcp-server/tests/test_scanner.py:632
Method
test_diff_scan_rejects_short_option_base_ref
A bare short option (e.g. '-o') is also rejected.
src/security-agent-mcp-server/tests/test_scanner.py:649
Method
test_diff_scan_reuses_existing_code_review
Reuses existing CodeReview when one exists for the workspace.
src/security-agent-mcp-server/tests/test_scanner.py:556
Method
test_diff_scan_success_no_prior_review
Creates a CodeReview on first diff scan and starts the job.
src/security-agent-mcp-server/tests/test_scanner.py:531
Method
test_diff_scan_timeout
Git diff timeout returns error.
src/security-agent-mcp-server/tests/test_scanner.py:1041
Method
test_diff_scan_uploads_repo_and_diff
Uploads both the source repo zip and the diff patch to S3.
src/security-agent-mcp-server/tests/test_scanner.py:716
Method
test_diff_scan_zip_committed_failure
_zip_committed_and_upload ValueError propagates.
src/security-agent-mcp-server/tests/test_scanner.py:1051
Method
test_different_args
Test that different arguments result in different cache entries.
src/openapi-mcp-server/tests/auth/test_auth_cache.py:188
Method
test_different_configs_different_instances
Test that different configs result in different provider instances.
src/openapi-mcp-server/tests/auth/test_auth_factory_caching.py:48
Method
test_different_endpoints_different_connections
Test same cluster/db but different endpoints store separately.
src/postgres-mcp-server/tests/test_db_connection_map.py:724
Method
test_different_family_plus
Test Different family plus.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_recommendation_engine.py:278
Method
test_different_history_item_types
Test handling of different history item types.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_alarm_history_integration.py:383
Method
test_different_methods_different_connections
Test same cluster/db but different methods store separately.
src/postgres-mcp-server/tests/test_db_connection_map.py:696
Method
test_different_name_types
Test that name_type affects scoring.
src/cloudwatch-applicationsignals-mcp-server/tests/test_utils.py:285
Method
test_different_page_names_both_urls
Landing on another page names what was requested and what was served.
src/aws-documentation-mcp-server/tests/test_server_utils.py:1427
Method
test_different_ports_different_connections
Test same cluster/db/endpoint but different ports store separately.
src/postgres-mcp-server/tests/test_db_connection_map.py:773
Method
test_different_region
(self)
src/aws-transform-mcp-server/tests/test_config_store.py:111
Method
test_different_regions
Test that the client is used correctly regardless of region.
src/amazon-mq-mcp-server/tests/rabbitmq/test_broker_id_lookup.py:169
Method
test_different_regions_different_clients
Different regions produce different cached clients.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_browser_client.py:91
Method
test_different_regions_different_clients
Different regions produce different cached clients.
src/amazon-bedrock-agentcore-mcp-server/tests/policy/test_unit_policy_client.py:96
Method
test_different_regions_different_clients
Different regions produce different cached clients.
src/amazon-bedrock-agentcore-mcp-server/tests/memory/test_unit_memory_client.py:100
Method
test_different_regions_different_clients
Different regions produce different cached clients.
src/amazon-bedrock-agentcore-mcp-server/tests/identity/test_unit_identity_client.py:96
Method
test_different_regions_different_clients
Different regions produce different cached clients.
src/amazon-bedrock-agentcore-mcp-server/tests/gateway/test_unit_gateway_client.py:96
Method
test_different_regions_get_different_clients
Test different regions get separate client instances.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_client.py:91
Method
test_different_services_not_cached_together
Test that different services get different cached clients.
src/eks-mcp-server/tests/test_aws_helper.py:181
Method
test_different_services_not_cached_together
Test that different services get different cached clients.
src/sagemaker-ai-mcp-server/tests/test_aws_helper.py:207
Function
test_different_target_names_are_separate_entries
Same instance with different target_name values are stored as separate connections.
src/oracle-mcp-server/tests/test_db_connection_map.py:233
Method
test_different_text_different_embedding
(self)
src/valkey-mcp-server/tests/test_embeddings.py:194
Method
test_different_timestamps
Test several different timestamps for correct formatting.
src/billing-cost-management-mcp-server/tests/utilities/test_time_utils.py:110
Method
test_digest_matches_expected
(self)
src/aws-transform-mcp-server/tests/test_upload_helper.py:109
Method
test_dimension_creation
Test creating a Dimension instance.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_models.py:35
Method
test_dimension_creation
Test creating a dimension.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_models.py:246
Method
test_dimension_examples_use_exact_ce_values
Dimension examples are values Cost Explorer returns, not console or pricing labels.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:1827
Method
test_dimension_reference_keys_are_accepted_by_the_service
Each DIMENSION REFERENCE key is a COST_AND_USAGE dimension or names its own context. TAG is the note that TAG is no dimension; SCOPE is liste
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:2030
Method
test_dimension_reference_keys_are_ce_dimensions
Every DIMENSION REFERENCE key except the TAG note is in botocore's ce Dimension enum.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:1916
Method
test_dimension_reference_lists_commitment_and_cache_keys_and_marks_scope
Missing keys are listed, and each key accepted in only some places says where.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:2183
Method
test_dimension_reference_names_commonly_needed_keys
OPERATION, BILLING_ENTITY, RESOURCE_ID, USAGE_TYPE_GROUP and INVOICING_ENTITY are listed.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:1926
Method
test_dimension_reference_preamble_holds_for_every_unqualified_key
Keys with no "where accepted" note are filter, group_by and forecast filter keys. The preamble says so; the five keys accepted in fewer place
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_tools.py:2057
Method
test_dimension_transformation
Test proper transformation of alarm dimensions.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_active_alarms.py:455
Method
test_dimension_validation
Test validation for Dimension model.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_models.py:41
Method
test_dimension_validation
Test dimension field validation.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_metrics_models.py:253
Method
test_dimension_value_attributes_without_value_are_all_kept
Only entries with a Value are deduplicated; entries without one are kept as is.
src/billing-cost-management-mcp-server/tests/tools/test_cost_explorer_operations.py:653
Method
test_dimensions_optional
Test that dimensions are optional.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_cloudformation_template_generator.py:172
Method
test_dimensions_zero_uses_default
dimensions=0 is preserved (not treated as None/falsy).
src/valkey-mcp-server/tests/test_embeddings.py:318
Function
test_dir_swapped_after_internal_resolution_is_not_followed
A link swapped in after the internal resolve and re-check is still refused. Simulates the race by having the resolve step return the pre-swap pat
src/document-loader-mcp-server/tests/test_slide_output_paths.py:191
Function
test_direct_connect_gateway_attachment_success
Test successful Direct Connect Gateway attachment retrieval.
src/aws-network-mcp-server/tests/tools/cloud_wan/test_get_cloudwan_attachment_details.py:77
Function
test_direct_connection_to_server_is_refused
A direct connection bypassing the Fronting_Layer must be refused. Validates: Requirements AgentCore deployment demonstration (AgentCore is the so
src/aws-healthomics-mcp-server/integration/tests/test_direct_access_refused.py:112
Method
test_direct_constructor_prevented
Test that direct constructor is prevented.
src/aws-healthomics-mcp-server/tests/test_s3_search_engine.py:106
Method
test_direct_fetch_adds_no_redirect_noise
A page reached without a redirect is returned unannotated.
src/aws-documentation-mcp-server/tests/test_server_utils.py:1631
Method
test_direct_group_for_named_service
Build the direct log group name for a named service.
src/cloudwatch-applicationsignals-mcp-server/tests/test_cw_logs.py:88
Method
test_direction_datapoint_attribute
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_schema.py:133
Method
test_direction_filter_applied_to_io_metrics
(self, mock_resolve, mock_client_cls)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:268
Method
test_direction_metric_queried_per_direction
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_client.py:184
Method
test_directory_not_a_directory
Non-directory local file raises ValueError for bundle resolution. Passing a regular file (not ending in .zip) to resolve_bundle_content
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:1141
Method
test_directory_outside_write_base_is_rejected
(self, handler, ctx, tmp_path)
src/aws-transform-mcp-server/tests/test_download_artifact.py:345
Method
test_directory_path_raises_error
Test that directory path raises appropriate error.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_loader.py:78
Method
test_directory_round_trip
Writing files to a temp directory and resolving returns identical dict. Each iteration uses a unique subdirectory to avoid file accumulation
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:519
Method
test_directory_url_without_html_allowed
Redirect targets are often directory URLs (no .html); the domain check must pass them.
src/aws-documentation-mcp-server/tests/test_util.py:63
Method
test_directory_with_non_utf8_file
Directory containing a non-UTF-8 file raises UnicodeDecodeError.
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:1130
Method
test_directory_with_subdirectories
Directory with subdirectories reads files recursively with relative paths.
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:1116
Method
test_disable
Test disabling a schedule.
src/aws-for-sap-management-mcp-server/tests/test_scheduling.py:777
Method
test_disable_browser
AGENTCORE_DISABLE_TOOLS=browser disables browser, not runtime.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_server_integration.py:43
Method
test_disable_file_logging_environment_variable_precedence
Test behavior when both CLI flag and environment variable are set.
src/finch-mcp-server/tests/test_cli_flags.py:190
Method
test_disable_file_logging_flag
Test --disable-file-logging flag parsing.
src/finch-mcp-server/tests/test_cli_flags.py:97
Method
test_disable_file_logging_sets_environment_variable
Test that --disable-file-logging flag sets FINCH_DISABLE_FILE_LOGGING environment variable.
src/finch-mcp-server/tests/test_cli_flags.py:165
Method
test_disable_overrides_custom_file
Test that disable flag overrides custom file setting.
src/finch-mcp-server/tests/test_logging_configuration.py:94
Method
test_disable_tools_blocks_listed
Listed services disabled when AGENTCORE_DISABLE_TOOLS is set.
src/amazon-bedrock-agentcore-mcp-server/tests/test_server.py:236
Method
test_disabled_by_default
(self)
src/valkey-mcp-server/tests/test_command_runners.py:194
Method
test_disabled_by_default
(self)
src/valkey-mcp-server/tests/integration/test_command_runners_live.py:207
Method
test_disabled_file_logging_via_env
Test that file logging can be disabled via environment variable.
src/finch-mcp-server/tests/test_logging_configuration.py:55
Method
test_disabled_record_fails_closed
A record with ``enabled`` set false denies access.
src/aws-healthomics-mcp-server/tests/test_registry_role_resolver.py:178
Function
test_disabled_record_rejected_with_401
An identity whose Registry_Record is disabled is refused with HTTP 401. Presents a validly-signed JWT whose Registry_Record has ``enabled`` set t
src/aws-healthomics-mcp-server/integration/tests/test_unauthenticated_rejected.py:306
Method
test_disallowed_datapoint_value_rejected
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_schema.py:163
Method
test_disassociate_assets_success
Test successful asset disassociation.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_assets.py:275
Method
test_disassociate_assets_with_client_token
Test disassociate assets with client token.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_assets.py:550
Method
test_disassociate_time_series_success
Test successful time series disassociation.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_gateways.py:210
Method
test_disassociate_time_series_with_client_token
Test disassociate time series with client token parameter.
src/aws-iot-sitewise-mcp-server/tests/tools/test_sitewise_gateways.py:530
Method
test_disconnect_clears_active_page
Disconnect removes the active page tracking for the session.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:248
Method
test_disconnect_closes_browser
Disconnect closes the browser and removes from map.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:227
Method
test_disconnect_handles_close_error
Disconnect handles browser.close() errors gracefully.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:240
Method
test_disconnect_nonexistent_session
Disconnect on unknown session is a no-op.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:236
Method
test_disconnect_removes_dialog_handler
Disconnect properly removes dialog handler via remove_dialog_handler.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_connection.py:356
Method
test_discover_clusters_both_access_denied_raises_tool_error
Test that ToolError is raised when both clients get access-denied.
src/redshift-mcp-server/tests/test_clusters.py:388
Method
test_discover_clusters_both_non_access_denied_first_bubbles_up
Test that when both clients raise non-access-denied ClientError, the first one (provisioned) re-raises.
src/redshift-mcp-server/tests/test_clusters.py:571
Method
test_discover_clusters_non_access_denied_provisioned_bubbles_up
Test that non-access-denied ClientError from provisioned discovery re-raises immediately.
src/redshift-mcp-server/tests/test_clusters.py:517
Method
test_discover_clusters_non_access_denied_serverless_bubbles_up
Test that non-access-denied ClientError from serverless discovery re-raises immediately.
src/redshift-mcp-server/tests/test_clusters.py:545
Method
test_discover_clusters_provisioned
Test discover_clusters function with provisioned clusters. Tests both complete cluster data and clusters with optional fields omitted
src/redshift-mcp-server/tests/test_clusters.py:143
Method
test_discover_clusters_provisioned_access_denied_serverless_succeeds
Test partial results when provisioned gets access-denied but serverless succeeds.
src/redshift-mcp-server/tests/test_clusters.py:424
Method
test_discover_clusters_provisioned_error
Test error handling when discovering provisioned clusters fails.
src/redshift-mcp-server/tests/test_clusters.py:230
Method
test_discover_clusters_serverless
Test discover_clusters with serverless workgroups. The serverless database_name is always reported as the built-in 'dev';
src/redshift-mcp-server/tests/test_clusters.py:253
← previous
next →
16,701–16,800 of 35,417, ranked by callers