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_run_statuses_completeness
Test that RUN_STATUSES contains all defined run status constants.
src/aws-healthomics-mcp-server/tests/test_consts.py:302
Method
test_run_statuses_list
Test RUN_STATUSES list contains all expected values.
src/aws-healthomics-mcp-server/tests/test_consts.py:145
Method
test_run_subprocess_safely_allowed_commands
Test _run_subprocess_safely allows whitelisted commands.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:557
Method
test_run_subprocess_safely_blocked_commands
Test _run_subprocess_safely blocks non-whitelisted commands.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:579
Method
test_run_subprocess_safely_called_process_error
Test _run_subprocess_safely handles CalledProcessError exception.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:624
Method
test_run_subprocess_safely_file_not_found
Test _run_subprocess_safely with FileNotFoundError.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:547
Method
test_run_subprocess_safely_invalid_input
Test _run_subprocess_safely with invalid input.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:635
Method
test_run_subprocess_safely_timeout_expired
Test _run_subprocess_safely handles TimeoutExpired exception.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:613
Method
test_run_subprocess_safely_windows_exe_handling
Test _run_subprocess_safely handles .exe extension on Windows.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:599
Function
test_run_summary
Test RunSummary model.
src/aws-healthomics-mcp-server/tests/test_models.py:156
Function
test_run_summary_validation
Test RunSummary validation.
src/aws-healthomics-mcp-server/tests/test_models.py:443
Function
test_run_with_timeout_cancels_worker_when_caller_is_cancelled
Cancelling the tool call also stops the worker.
src/document-loader-mcp-server/tests/test_timeout_cancellation.py:166
Function
test_run_with_timeout_keeps_result_finished_as_timeout_fires
Work that finished before the cancel took effect is returned, not discarded.
src/document-loader-mcp-server/tests/test_timeout_cancellation.py:149
Function
test_run_with_timeout_propagates_worker_error
An error raised by the work reaches the caller.
src/document-loader-mcp-server/tests/test_timeout_cancellation.py:113
Function
test_run_with_timeout_returns_result
Work that finishes in time returns its result.
src/document-loader-mcp-server/tests/test_timeout_cancellation.py:102
Function
test_run_with_timeout_stops_worker_at_next_checkpoint
After the timeout fires, the worker stops at its next checkpoint.
src/document-loader-mcp-server/tests/test_timeout_cancellation.py:124
Method
test_running_tasks_count
Test that running tasks count is included in results.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_task_failures.py:601
Method
test_runtime_config_documents_agentcore_as_sole_ingress
The runtime config attaches the inbound authorizer and marks AgentCore-only ingress. The inbound-authorizer descriptor documents AgentCore as
src/aws-healthomics-mcp-server/integration/harness_tests/test_agentcore_config.py:143
Method
test_runtime_config_records_custom_container_port
A custom container port is recorded on the runtime config's container descriptor.
src/aws-healthomics-mcp-server/integration/harness_tests/test_agentcore_config.py:162
Method
test_runtime_config_shape_and_embedded_env
The runtime config uses ``server_protocol='MCP'`` and embeds the injected env. The config pins the MCP server protocol (Req 2.3), carries the
src/aws-healthomics-mcp-server/integration/harness_tests/test_agentcore_config.py:119
Method
test_runtime_configured_for_explicit_and_allowlists_aws_headers
The server env selects the explicit mechanism and the X-Aws-* headers are forwarded.
src/aws-healthomics-mcp-server/integration/harness_tests/test_agentcore_e2e_provisioning.py:334
Method
test_runtime_control
Runtime control plane is distinct from data plane.
src/amazon-bedrock-agentcore-mcp-server/tests/test_user_agent.py:47
Method
test_runtime_primitive
Works for runtime primitive.
src/amazon-bedrock-agentcore-mcp-server/tests/test_user_agent.py:41
Method
test_runtime_wired_with_execution_role_and_jwt_authorizer
The runtime config carries the execution role and the Cognito JWT authorizer.
src/aws-healthomics-mcp-server/integration/harness_tests/test_agentcore_e2e_provisioning.py:248
Method
test_s3_403_error
ValueError raised for S3 403 (access denied). **Validates: Requirements S3 Content Resolution**
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:1010
Method
test_s3_404_error
ValueError raised for S3 404 (object not found). **Validates: Requirements S3 Content Resolution**
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:991
Method
test_s3_client_property
Test S3 client property lazy loading.
src/amazon-translate-mcp-server/tests/test_batch_manager.py:109
Function
test_s3_cp_no_args
Test aws s3 cp with no arguments (should fail with missing required params).
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:125
Function
test_s3_cp_stdin_as_source_blocked
Test that 'aws s3 cp - s3://bucket/key' (stdin) is blocked.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:184
Function
test_s3_cp_stdout_as_destination_allowed
Test that 'aws s3 cp s3://bucket/key -' (stdout) is allowed.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:199
Function
test_s3_cp_with_source_and_dest
Test aws s3 cp with source and destination.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:133
Function
test_s3_express_one_in_unsupported_region
Test aws s3 list-directory-buckets command in region where this operation is not supported.
src/aws-api-mcp-server/tests/parser/test_parser.py:716
Method
test_s3_failure_raises
(self, mock_fes, mock_httpx_cls)
src/aws-transform-mcp-server/tests/test_upload_helper.py:85
Method
test_s3_failure_raises
(self, mock_validate, mock_fes, mock_httpx_cls, tmp_path)
src/aws-transform-mcp-server/tests/test_upload_helper.py:248
Method
test_s3_file_bucket_validation_edge_cases
Test S3File bucket validation edge cases.
src/aws-healthomics-mcp-server/tests/test_s3_file_model.py:74
Method
test_s3_file_creation
Test basic S3File creation.
src/aws-healthomics-mcp-server/tests/test_s3_file_model.py:35
Method
test_s3_file_directory_operations
Test S3File directory-related operations.
src/aws-healthomics-mcp-server/tests/test_s3_file_model.py:288
Method
test_s3_file_from_uri
Test creating S3File from URI.
src/aws-healthomics-mcp-server/tests/test_s3_file_model.py:48
Method
test_s3_file_from_uri_edge_cases
Test S3File.from_uri edge cases.
src/aws-healthomics-mcp-server/tests/test_s3_file_model.py:243
Method
test_s3_file_key_manipulation
Test S3File key manipulation methods.
src/aws-healthomics-mcp-server/tests/test_s3_file_model.py:271
Method
test_s3_file_key_validation_edge_cases
Test S3File key validation edge cases.
src/aws-healthomics-mcp-server/tests/test_s3_file_model.py:159
Method
test_s3_file_properties
Test S3File properties and methods.
src/aws-healthomics-mcp-server/tests/test_s3_file_model.py:257
Method
test_s3_file_validation
Test S3File validation.
src/aws-healthomics-mcp-server/tests/test_s3_file_model.py:60
Method
test_s3_http_error
S3 download returns HTTP error -> warning about download failure.
src/aws-transform-mcp-server/tests/test_hitl.py:516
Function
test_s3_ls_no_args
Test aws s3 ls with no arguments.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:63
Function
test_s3_ls_with_bucket
Test aws s3 ls with a specific bucket.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:79
Function
test_s3_ls_with_bucket_and_flags
Test aws s3 ls with bucket and flags.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:112
Function
test_s3_ls_with_bucket_and_prefix
Test aws s3 ls with bucket and prefix.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:90
Function
test_s3_ls_with_empty_bucket
Test aws s3 ls with empty bucket name.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:406
Function
test_s3_ls_with_flags
Test aws s3 ls with human-readable flag.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:101
Function
test_s3_ls_with_special_characters_in_bucket
Test aws s3 ls with special characters in bucket name.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:417
Function
test_s3_mv_stdin_as_source_blocked
Test that 'aws s3 mv - s3://bucket/key' (stdin) is blocked.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:225
Function
test_s3_mv_with_source_and_dest
Test aws s3 mv with source and destination.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:149
Method
test_s3_object_reraise_non_404_403
_read_s3_object re-raises ClientError that is not 404/403.
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:1175
Method
test_s3_object_size_limit
S3 object exceeding size limit raises ValueError before download. **Validates: Requirements Content Resolution Security**
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:211
Method
test_s3_output_path_calls_write_zip_to_s3
S3 URI output_path routes to write_zip_to_s3 and returns JSON summary.
src/aws-healthomics-mcp-server/tests/test_package_workflow_output.py:265
Method
test_s3_output_path_explicit_owner
Explicit expected_bucket_owner is passed through without calling get_account_id.
src/aws-healthomics-mcp-server/tests/test_package_workflow_output.py:329
Method
test_s3_output_path_sentinel_resolves_account_id
Sentinel __DEFAULT__ expected_bucket_owner resolves to caller account ID.
src/aws-healthomics-mcp-server/tests/test_package_workflow_output.py:296
Method
test_s3_path_does_not_call_local
S3 output_path does not invoke write_zip_to_local.
src/aws-healthomics-mcp-server/tests/test_package_workflow_output.py:376
Method
test_s3_path_routes_to_s3_handler
S3 paths route to write_svg_to_s3, not write_svg_to_local. Validates: Requirements Output Path S3 Detection
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:931
Method
test_s3_prefix_access_denied
_read_s3_prefix raises ValueError on 403.
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:1237
Method
test_s3_prefix_always_wins
S3 URI prefix takes precedence even if os.path.exists would return True. We mock os.path.exists to return True for the s3:// string to prove
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:147
Method
test_s3_prefix_case_sensitive
S3 detection is case-sensitive — 'S3://' is not an S3 URI.
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:945
Method
test_s3_prefix_reraise_non_403
_read_s3_prefix re-raises non-403 ClientError.
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:1260
Method
test_s3_prefix_round_trip
Mocked S3 list + get returning files under a prefix resolves identically. **Validates: Requirements Lint Workflow Bundle**
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:586
Method
test_s3_prefix_size_limit_enforcement
_read_s3_prefix enforces size limit across objects.
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:1347
Method
test_s3_prefix_skips_directory_marker
_read_s3_prefix skips keys that equal the prefix itself.
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:1205
Function
test_s3_rm_with_bucket
Test aws s3 rm with a bucket path.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:171
Method
test_s3_size_checked_before_download
S3 content length is checked via head_object before get_object. **Validates: Requirements Content Resolution Security**
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:286
Method
test_s3_success_response_has_exact_keys_and_status
S3 URI success response has exactly status, output_path, run_id, task_count keys. Validates: Requirements Response Structure with Output Path
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:1149
Function
test_s3_sync_stdin_as_source_blocked
Test that 'aws s3 sync - s3://bucket/' (stdin) is blocked.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:210
Function
test_s3_sync_with_source_and_dest
Test aws s3 sync with source and destination.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:160
Method
test_s3_triple_slash
Reject 's3:///' (empty bucket, slash key).
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:131
Method
test_s3_triple_slash_with_key
Reject 's3:///key' (empty bucket).
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:136
Method
test_s3_upload_failure
(self, _, mock_fes, mock_httpx, handler, ctx)
src/aws-transform-mcp-server/tests/test_artifact.py:262
Method
test_s3_uri
Lint resolves an S3 URI to its content before linting. Validates: Requirement Lint Workflow Definition with File Path or S3 URI
src/aws-healthomics-mcp-server/tests/test_workflow_linting_resolution.py:88
Method
test_s3_uri
Package resolves an S3 URI for main_file_content. Validates: Requirement Package Workflow with File Path or S3 URI
src/aws-healthomics-mcp-server/tests/test_helper_tools_resolution.py:69
Method
test_s3_uri_detected
Any string starting with 's3://' is classified as S3_URI. **Validates: Requirements Content Input Type Detection**
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:98
Method
test_s3_uri_empty
Test rejection of empty S3 URI.
src/amazon-translate-mcp-server/tests/test_security_validators.py:404
Method
test_s3_uri_invalid_bucket_format
Test rejection of invalid bucket name format.
src/amazon-translate-mcp-server/tests/test_security_validators.py:410
Method
test_s3_uri_ipv6_ssrf
Test SSRF prevention with IPv6 localhost - caught by bucket validation.
src/amazon-translate-mcp-server/tests/test_security_validators.py:417
Method
test_s3_uri_parsing
Test S3 URI parsing functionality.
src/amazon-translate-mcp-server/tests/test_missing_line_coverage.py:224
Method
test_s3_uri_parsing_edge_cases
Test S3 URI parsing edge cases.
src/amazon-translate-mcp-server/tests/test_edge_cases_and_error_handling.py:306
Method
test_s3_uri_parsing_edge_cases
Test S3 URI parsing with various edge cases.
src/amazon-translate-mcp-server/tests/test_batch_manager.py:733
Method
test_s3_uri_takes_precedence_over_md_extension
Test that S3 URI detection takes precedence even if path ends with .md.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:450
Method
test_s3_uri_validated_before_api_call
S3 URI format is validated before any AWS API call is made. **Validates: Requirements Content Resolution Security**
src/aws-healthomics-mcp-server/tests/test_content_resolver_security.py:274
Method
test_s3_uri_validation_via_shared_import
S3 URI format validation still works through path_utils.validate_s3_uri_format.
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:505
Method
test_s3_uri_with_custom_field_name
Test S3 URI validation with custom field name.
src/amazon-translate-mcp-server/tests/test_security_validators.py:431
Method
test_s3_write_end_to_end
S3 URI output_path calls write_svg_to_s3 and returns a JSON summary. Validates: Requirements Output Path S3 Detection, Response Structure wit
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:1581
Method
test_s3_zip_round_trip
Mocked S3 get_object returning a ZIP resolves identically. **Validates: Requirements Lint Workflow Bundle**
src/aws-healthomics-mcp-server/tests/test_content_resolver.py:639
Function
test_s3api_list_buckets_not_custom
Test non-custom operation returns false.
src/aws-api-mcp-server/tests/parser/test_parser_customizations.py:36
Method
test_saas_snapshot
Test that saas generation matches expected snapshot.
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_python_snapshot_generation.py:119
Method
test_sadd_and_smembers
(self)
src/valkey-mcp-server/tests/integration/test_command_runners_live.py:164
Method
test_safe_arbitrary_strings_return_absolute
Arbitrary strings without null bytes or traversal resolve to absolute paths. Validates: Requirements Path Resolution
src/aws-healthomics-mcp-server/tests/test_run_timeline_output.py:260
Method
test_safe_capture_capture_fails
Returns fallback message when snapshot capture raises.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_error_handler.py:85
Method
test_safe_capture_no_page
Returns fallback when page is None.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_error_handler.py:75
Method
test_safe_capture_returns_snapshot
Returns snapshot text when capture succeeds.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_error_handler.py:64
Method
test_safe_datetime_to_iso_with_datetime
Test safe_datetime_to_iso with datetime object.
src/aws-healthomics-mcp-server/tests/test_troubleshooting.py:714
Method
test_safe_datetime_to_iso_with_none
Test safe_datetime_to_iso with None input.
src/aws-healthomics-mcp-server/tests/test_troubleshooting.py:707
Method
test_safe_datetime_to_iso_with_other_type
Test safe_datetime_to_iso with other type.
src/aws-healthomics-mcp-server/tests/test_troubleshooting.py:729
← previous
next →
30,101–30,200 of 35,417, ranked by callers