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_save_analysis_files_empty_results
Test save_analysis_files with empty results.
src/dynamodb-mcp-server/tests/db_analyzer/test_analyzer_utils.py:314
Method
test_save_analysis_files_markdown_error
Test save_analysis_files with Markdown generation error.
src/dynamodb-mcp-server/tests/db_analyzer/test_analyzer_utils.py:431
Method
test_save_analysis_files_with_data
Test save_analysis_files with actual data.
src/dynamodb-mcp-server/tests/db_analyzer/test_analyzer_utils.py:324
Method
test_save_analysis_files_with_generation_errors
Test save_analysis_files when there are generation errors.
src/dynamodb-mcp-server/tests/db_analyzer/test_analyzer_utils.py:383
Method
test_save_and_get_scan
Saves and retrieves scan data.
src/security-agent-mcp-server/tests/test_state.py:67
Method
test_save_draft_no_content
SAVE_DRAFT with no content/filePath should not upload.
src/aws-transform-mcp-server/tests/test_hitl.py:151
Method
test_save_draft_rejected
SAVE_DRAFT is not valid for TOOL_APPROVAL tasks.
src/aws-transform-mcp-server/tests/test_hitl.py:868
Method
test_save_draft_with_content
SAVE_DRAFT with content should upload.
src/aws-transform-mcp-server/tests/test_hitl.py:198
Method
test_save_last_query_without_end_marker
Test that last query data is saved at end of file.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:461
Method
test_save_path_with_extension_uses_directly
(self, tmp_path)
src/aws-transform-mcp-server/tests/test_tool_utils.py:476
Method
test_save_scan_prunes_to_max
Saving more than MAX_SCANS prunes the oldest entries.
src/security-agent-mcp-server/tests/test_state.py:143
Method
test_saved_logs_insights_query_no_prefix
Test SavedLogsInsightsQuery when no prefix is found.
src/cloudwatch-mcp-server/tests/test_common_and_server.py:178
Method
test_saved_logs_insights_query_prefix_extraction
Test SavedLogsInsightsQuery prefix extraction from query string.
src/cloudwatch-mcp-server/tests/test_common_and_server.py:165
Method
test_saved_query_with_prefix
Test saved query with prefix matching.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_logs_server.py:138
Method
test_savepoint_bypass
SAVEPOINT is detected as a transaction-control bypass.
src/db2-mcp-server/tests/test_mutable_sql_detector.py:469
Method
test_savepoint_is_detected
``SAVEPOINT sp1`` — creates a named transaction savepoint.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:993
Method
test_saves_to_disk
(self, tmp_path)
src/aws-transform-mcp-server/tests/test_tool_utils.py:230
Function
test_savings_plans_coh_terms_reach_cost_explorer
A Savings Plans recommendation of either COH term is looked up in Cost Explorer.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:2234
Method
test_savings_plans_keep_partial_upfront
The DynamoDB reserved capacity remap does not reach Savings Plans lookups.
src/billing-cost-management-mcp-server/tests/tools/test_recommendation_details_tools.py:597
Function
test_savings_plans_prompt
Test that the savings plans prompt generates correct content.
src/billing-cost-management-mcp-server/tests/prompts/test_prompts.py:159
Method
test_savings_plans_utilization_api_error_is_surfaced
An API failure is reported as an error, not as an absence of Savings Plans.
src/billing-cost-management-mcp-server/tests/tools/test_sp_performance_tools.py:1021
Method
test_savings_plans_utilization_details_empty_data
Test utilization details with empty data - covers lines 447-450.
src/billing-cost-management-mcp-server/tests/tools/test_sp_performance_tools.py:1046
Method
test_savings_plans_utilization_details_malformed_data
Test utilization details with malformed data - null and empty nested blocks.
src/billing-cost-management-mcp-server/tests/tools/test_sp_performance_tools.py:1077
Method
test_savings_plans_utilization_details_with_valid_attributes
Test utilization details with valid attributes - attributes pass through intact.
src/billing-cost-management-mcp-server/tests/tools/test_sp_performance_tools.py:1127
Method
test_savings_plans_utilization_empty_data
Test utilization when the account genuinely has no Savings Plans.
src/billing-cost-management-mcp-server/tests/tools/test_sp_performance_tools.py:928
Method
test_savings_plans_utilization_partial_blocks
Savings and AmortizedCommitment are optional and their absence is not invented.
src/billing-cost-management-mcp-server/tests/tools/test_sp_performance_tools.py:993
Method
test_savings_plans_utilization_total_absent
A response carrying rows but no Total omits the key rather than fabricating zeros. Reporting an absent total as 0.0 would let it be summarize
src/billing-cost-management-mcp-server/tests/tools/test_sp_performance_tools.py:1191
Method
test_savings_plans_vocabulary_passes_through_unchanged
Payment options keep their spaces, plan types have no _SP, terms are seconds.
src/billing-cost-management-mcp-server/tests/tools/test_sp_explorer_tools.py:699
Method
test_says_sort_happens_before_max_items
sort_by + max_items=N is the top N by the key, not N items sorted afterwards.
src/billing-cost-management-mcp-server/tests/tools/test_sp_performance_tools.py:1816
Method
test_scalar_datetime
A bare datetime is converted to an ISO 8601 string.
src/billing-cost-management-mcp-server/tests/utilities/test_time_utils.py:124
Method
test_scalar_keys_absent_when_not_in_response
(self, mock_fes)
src/aws-transform-mcp-server/tests/test_paginate_all.py:176
Method
test_scalar_keys_null_value_skipped
(self, mock_fes)
src/aws-transform-mcp-server/tests/test_paginate_all.py:188
Method
test_scalar_keys_taken_from_first_page_only
(self, mock_fes)
src/aws-transform-mcp-server/tests/test_paginate_all.py:161
Method
test_scalar_passthrough
Non-datetime scalars pass through untouched.
src/billing-cost-management-mcp-server/tests/utilities/test_time_utils.py:156
Method
test_scalars_are_left_to_the_service
A non-empty JSON scalar is not called empty; the SDK or service rejects its shape.
src/billing-cost-management-mcp-server/tests/utilities/test_parse_filter.py:67
Method
test_scales
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_analysis.py:371
Method
test_scan
(self, client)
src/valkey-mcp-server/tests/integration/test_command_runners_live.py:125
Method
test_scan_allows_key_attribute_partition_key
Test that Scan allows filtering on partition key attribute.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_validator.py:355
Method
test_scan_allows_key_attribute_sort_key
Test that Scan allows filtering on sort key attribute.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_validator.py:366
Method
test_scan_command
(self, mock_client)
src/valkey-mcp-server/tests/test_command_runners.py:92
Method
test_scan_matches_any_endpoint_or_database
Lookup is by cluster_identifier only, not by endpoint/database/method. Regression test for the bug where is_database_connected required the
src/mysql-mcp-server/tests/test_server.py:88
Method
test_scan_not_configured
Test scan fails gracefully when not configured.
src/security-agent-mcp-server/tests/test_integ_basic.py:174
Method
test_scattered_tasks_use_group_peak
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_analysis.py:186
Method
test_scattered_tasks_use_peak_across_shards
(self)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:95
Method
test_schedule_config_checks_rejected
Test schedule_config_checks when user rejects.
src/aws-for-sap-management-mcp-server/tests/test_scheduling.py:592
Method
test_schedule_start_rejected
Test schedule_start_application when user rejects.
src/aws-for-sap-management-mcp-server/tests/test_scheduling.py:608
Method
test_schedule_stop_rejected
Test schedule_stop_application when user rejects.
src/aws-for-sap-management-mcp-server/tests/test_scheduling.py:624
Method
test_schema
Test that schema() correctly returns the graph schema. This test verifies that: 1. The get_schema method is called on the graph instan
src/amazon-neptune-mcp-server/tests/test_neptune.py:153
Method
test_schema_accepts_a_string_or_a_list
The served schema takes one status or a list, and the description says a list is ORed.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2874
Function
test_schema_format_enum
Test SchemaFormat enum values.
src/billing-cost-management-mcp-server/tests/test_models.py:51
Function
test_schema_info
Test SchemaInfo model.
src/billing-cost-management-mcp-server/tests/test_models.py:99
Method
test_schema_is_invalid
Test that the invalid filter expression schema fails validation.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_filter_expression_validator.py:551
Method
test_schema_lists_status_values
The served status_filter description lists the accepted values.
src/billing-cost-management-mcp-server/tests/tools/test_aws_bcm_pricing_calculator_tools.py:2888
Method
test_schema_manager_basic_functions
Test basic schema manager functions exist.
src/ccapi-mcp-server/tests/test_schema_manager.py:32
Method
test_schema_manager_cache_dir_creation
Test cache directory creation.
src/ccapi-mcp-server/tests/test_schema_manager.py:80
Method
test_schema_manager_cache_functions
Test schema cache functions exist.
src/ccapi-mcp-server/tests/test_schema_manager.py:41
Method
test_schema_manager_metadata_loading
Test metadata loading functions.
src/ccapi-mcp-server/tests/test_schema_manager.py:60
Method
test_schema_manager_module_init
Test schema manager module initialization - covers lines 196-202.
src/ccapi-mcp-server/tests/test_schema_manager.py:374
Method
test_schema_manager_singleton
Test schema_manager singleton behavior.
src/ccapi-mcp-server/tests/test_schema_manager.py:24
Method
test_schema_model_dump
Test schema serialization.
src/aws-iot-sitewise-mcp-server/tests/models/test_metadata_transfer_data_models.py:546
Method
test_schema_part_too_long
Test that a schema part exceeding the limit is rejected.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2467
Method
test_schema_properties
Test schema loading and properties.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_schema_loader.py:55
Method
test_schema_qualified
Test that a schema-qualified name is valid.
src/postgres-mcp-server/tests/test_server_internal_functions.py:2262
Function
test_schema_qualified_core_mutator_is_matched_by_bare_name
Explicit pg_catalog qualification cannot evade the bare mutator inventory.
src/postgres-mcp-server/tests/test_sql_guard.py:496
Method
test_schema_qualified_table_name_rejected
A dotted 'SCHEMA.TABLE' table_name is rejected rather than silently returning empty. validate_identifier() allows up to two parts, but the ca
src/db2-mcp-server/tests/test_server.py:340
Method
test_schema_takes_max_items_not_page_params
The tool exposes max_items and next_token, not the removed page parameters.
src/billing-cost-management-mcp-server/tests/tools/test_billing_preferences_tools.py:268
Function
test_schema_validation
Test that schema validation errors are raised for invalid input.
src/aws-api-mcp-server/tests/parser/test_parser.py:254
Function
test_schema_validator_allows_any_directory
Test that schema validator allows files in any directory (user's working directory).
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:1831
Method
test_schema_with_consistent_read_generates_correct_code
Test that schema with consistent_read generates correct repository code. This test verifies: - Schema with consistent_read: true gene
src/dynamodb-mcp-server/tests/repo_generation_tool/integration/test_consistent_read_integration.py:16
Method
test_schema_without_transactions_has_no_patterns
Test that schema without cross_table_access_patterns works correctly.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:1279
Method
test_scope_qualifier_on_later_var_is_handled
``SET @x = 1, @@session.sql_log_bin = 0`` — scope on second var.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:737
Method
test_scoped_engagement_resources_require_id
( self, _, resource, expected_parameter, handler, ctx )
src/aws-transform-mcp-server/tests/test_list_resources.py:1351
Method
test_scoped_fallback_full_tree_no_root
When fallback full tree has no root node, formatted output stays empty.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:672
Function
test_scoped_integration_run_skips_all_without_signal
A signal-absent pytest run scoped to integration/tests/ skips every test. Runs pytest in a subprocess against ``integration/tests/`` with the Opt
src/aws-healthomics-mcp-server/integration/harness_tests/test_default_selection_smoke.py:149
Method
test_scoped_snapshot_empty_formatted_fallback
Empty formatted scoped snapshot falls back to full tree.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:530
Method
test_scoped_snapshot_fallback_cdp_error
Fallback CDP error returns warning prefix only.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_snapshot.py:551
Method
test_score_bounds
Test that scores are always within valid bounds.
src/aws-healthomics-mcp-server/tests/test_scoring_engine.py:439
Method
test_score_capped_at_100
Test that score is capped at 100.
src/cloudwatch-applicationsignals-mcp-server/tests/test_utils.py:261
Function
test_score_coverage_bonus_rewards_more_terms
Two matched terms (6.0 tag + 5.0 name) earn a +2 coverage bonus = 13.0.
src/roda-mcp-server/tests/test_search.py:189
Function
test_score_exact_tag_match
An exact tag match scores 6.0, plus 1 coverage bonus for the term.
src/roda-mcp-server/tests/test_search.py:149
Method
test_score_minimum_zero
Test that score doesn't go below 0.
src/cloudwatch-applicationsignals-mcp-server/tests/test_utils.py:267
Function
test_score_no_match_is_zero
A term appearing nowhere contributes nothing and is not counted.
src/roda-mcp-server/tests/test_search.py:179
Function
test_score_partial_tag_match
A substring of a tag (not an exact tag) scores 3.0 (+1).
src/roda-mcp-server/tests/test_search.py:154
Method
test_score_results
Test scoring results.
src/aws-healthomics-mcp-server/tests/test_genomics_search_orchestrator.py:1133
Function
test_score_stronger_field_wins_via_max
A whole-word name hit (5.0) supersedes a weaker substring tag hit (3.0).
src/roda-mcp-server/tests/test_search.py:184
Function
test_score_substring_description_match
A substring of the description that is not a whole word scores 0.5 (+1).
src/roda-mcp-server/tests/test_search.py:174
Function
test_score_substring_name_match
A substring of the name that is not a whole word scores 2.5 (+1).
src/roda-mcp-server/tests/test_search.py:164
Function
test_score_whole_word_description_match
A whole-word hit only in the description scores 1.5 (+1).
src/roda-mcp-server/tests/test_search.py:169
Function
test_score_whole_word_name_match
A whole-word hit in the name scores 5.0 (+1).
src/roda-mcp-server/tests/test_search.py:159
Method
test_scoring_edge_cases
Test edge cases in scoring.
src/aws-healthomics-mcp-server/tests/test_scoring_engine.py:375
Method
test_scoring_recency_matters
More recent queries should produce higher recency scores.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:549
Method
test_scoring_weights_sum_to_one
Test that scoring weights sum to 1.0.
src/aws-healthomics-mcp-server/tests/test_scoring_engine.py:434
Method
test_scp_and_ssm_definitions
SCP and SSM action definitions map to their snake_case sub-objects.
src/billing-cost-management-mcp-server/tests/tools/test_budget_tools.py:1293
Method
test_scratch_cadence_caveat_and_interval
(self, mock_resolve, mock_client_cls)
src/aws-healthomics-mcp-server/tests/test_run_metrics_tools.py:440
Method
test_scratch_near_limit
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_analysis.py:101
Method
test_scratch_storage_mode_constants
Test individual scratch storage mode constants.
src/aws-healthomics-mcp-server/tests/test_consts.py:210
Method
test_scratch_storage_modes_list
Test SCRATCH_STORAGE_MODES contains exactly LOCAL and SHARED in order.
src/aws-healthomics-mcp-server/tests/test_consts.py:215
Method
test_scratch_suggestion_always_reported
(self)
src/aws-healthomics-mcp-server/tests/test_metrics_analysis.py:180
Method
test_scratch_usage_has_slow_sampling_interval
Scratch usage walks the filesystem, so it is sampled every ~20 min.
src/aws-healthomics-mcp-server/tests/test_metrics_schema.py:228
Method
test_screen_sql_skips_readonly_screens_in_write_mode
_screen_sql does not pay for read-only-only scans when write mode is on.
src/db2-mcp-server/tests/test_server.py:827
← previous
next →
30,301–30,400 of 35,417, ranked by callers