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_leading_block_comment_then_verb_is_detected
``/* header */ COMMIT`` — sqlparse strips the comment, verb still leads.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1049
Method
test_leading_callout_is_not_its_own_value
A cell opening with a callout yields two values, not three.
src/aws-documentation-mcp-server/tests/test_table_utils.py:1783
Method
test_leading_comment_or_ws_does_not_hide_verb
``<prefix><verb>`` is still detected regardless of the prefix form.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1529
Method
test_leading_digit_is_prefixed
A name starting with a digit is prefixed so it can start an identifier.
src/dynamodb-mcp-server/tests/cdk_generator/test_generator.py:658
Method
test_leading_dot
Test that a leading dot returns None.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1249
Method
test_leading_dot
Test that leading dot is rejected.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1460
Method
test_leading_literal_and_bare_dollar_are_safe
A literal at index 0 and a bare $ (positional param) must not crash or misfire. Exercises the boundary-helper edges: a single quote at the ve
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:724
Method
test_leading_semicolon_before_deny_keyword_is_rejected
Leading semicolons cannot smuggle a deny-listed keyword past the guard.
src/redshift-mcp-server/tests/test_sql_guard.py:175
Method
test_leading_underscore
Test parsing an unquoted name starting with underscore.
src/postgres-mcp-server/tests/test_server_internal_functions.py:998
Method
test_leading_underscore
Test that a name starting with underscore is valid.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1328
Method
test_leading_whitespace_is_handled
Leading whitespace/newlines before the verb do not hide it.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1045
Method
test_least_privilege_role_allowed
A non-superuser role passes without raising.
src/postgres-mcp-server/tests/test_privilege_guardrail.py:188
Method
test_leave_with_userId_defaulting_to_none
Omit userId for 'leave' — should be None so the 'userId must not be provided' check passes.
src/aws-transform-mcp-server/tests/test_field_defaults.py:302
Method
test_leave_without_confirm_defaults_to_none
Omit confirm for 'leave' — should be None (falsy), triggering validation error.
src/aws-transform-mcp-server/tests/test_field_defaults.py:326
Method
test_ledger_offloads_one_row_per_record
A large ledger becomes a table with one row per allocation record.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:974
Method
test_legacy_fallback_infers_code_capture_without_wrapper_key
Legacy fallback infers code capture without wrapper key.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_capture.py:77
Method
test_legacy_suffixed_url
(self)
src/aws-transform-mcp-server/tests/test_config_store.py:99
Method
test_legitimate_comments_not_flagged
Legitimate use of comments in benign queries should not trigger false positives.
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1569
Method
test_legitimate_filename_unchanged
(self)
src/aws-transform-mcp-server/tests/test_file_validation.py:144
Function
test_legitimate_multi_union_not_flagged
Multiple UNION clauses in a query should not be flagged.
src/mssql-mcp-server/tests/test_injection_false_positives.py:37
Method
test_legitimate_query_not_flagged
(self, sql, reason)
src/aurora-dsql-mcp-server/tests/test_readonly_enforcement.py:1534
Method
test_legitimate_read_queries
Test that legitimate read queries are properly allowed.
src/aws-dataprocessing-mcp-server/tests/utils/test_sql_analyzer.py:393
Function
test_legitimate_select_query_allowed
Test that legitimate SELECT queries are allowed when write access is disabled.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_query_handler.py:889
Method
test_legitimate_subheading_still_used
A normal h4 outside a callout remains the table_heading.
src/aws-documentation-mcp-server/tests/test_table_utils.py:1433
Function
test_legitimate_union_all_select_not_flagged
A legitimate UNION ALL SELECT query should not be flagged.
src/mssql-mcp-server/tests/test_injection_false_positives.py:30
Function
test_legitimate_union_select_not_flagged
A legitimate UNION SELECT query should not be flagged as injection.
src/mssql-mcp-server/tests/test_injection_false_positives.py:23
Function
test_legitimate_union_select_not_flagged
Legitimate UNION SELECT is not flagged as injection risk.
src/mssql-mcp-server/tests/test_server.py:1042
Method
test_length_constraints
Test length validation (1-20 characters).
src/ecs-mcp-server/tests/unit/utils/test_security.py:56
Method
test_length_difference_penalty
Test penalty for very different lengths.
src/cloudwatch-applicationsignals-mcp-server/tests/test_utils.py:207
Method
test_less_than_equal
Test customizing less_than_equal error.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model.py:455
Method
test_level_line_level_when_line_number_set
Level reports LINE-LEVEL when a line_number is present.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:3193
Method
test_lifespan_browser_without_code_interpreter
Lifespan manages browser cleanup when code interpreter is not registered.
src/amazon-bedrock-agentcore-mcp-server/tests/test_server.py:356
Method
test_lifespan_cleans_up_on_exception
Lifespan cleans up even when body raises.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_server_integration.py:272
Method
test_lifespan_code_interpreter_cleanup_no_browser
Lifespan calls code interpreter cleanup on exit (no browser).
src/amazon-bedrock-agentcore-mcp-server/tests/test_server.py:269
Method
test_lifespan_does_not_call_add_signal_handler
Regression for #2752: lifespan must not call loop.add_signal_handler. On Windows the default ProactorEventLoop raises NotImplementedError fro
src/amazon-bedrock-agentcore-mcp-server/tests/test_server.py:318
Method
test_lifespan_no_browser_no_code_interpreter
Lifespan yields cleanly when no services registered.
src/amazon-bedrock-agentcore-mcp-server/tests/test_server.py:258
Method
test_lifespan_with_browser_and_code_interpreter
Lifespan manages browser cleanup task and code interpreter cleanup.
src/amazon-bedrock-agentcore-mcp-server/tests/test_server.py:283
Method
test_lifespan_with_browser_disabled
With browser disabled (_browser_cm is None), yields cleanly.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_server_integration.py:262
Method
test_lifespan_with_browser_enabled
With browser enabled: signal handlers registered, cleanup on exit.
src/amazon-bedrock-agentcore-mcp-server/tests/browser/test_unit_server_integration.py:245
Method
test_light_theme_background_in_build
Test that light theme produces a white background rect.
src/aws-healthomics-mcp-server/tests/test_svg_builder.py:328
Method
test_light_theme_default
Test that light theme is the default.
src/aws-healthomics-mcp-server/tests/test_svg_builder.py:303
Method
test_light_theme_does_not_use_dark_colors
Test that light theme does not use dark theme colors.
src/aws-healthomics-mcp-server/tests/test_gantt_generator.py:481
Method
test_light_theme_line_default_stroke
Test that light theme lines default to dark axis color.
src/aws-healthomics-mcp-server/tests/test_svg_builder.py:358
Method
test_light_theme_title_text_color
Test that light theme title uses dark text color.
src/aws-healthomics-mcp-server/tests/test_svg_builder.py:340
Method
test_lightweight_non_equality_penalty
Account-level lightweight analysis should penalize non-equality fields.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:1028
Method
test_limit
(self)
src/valkey-mcp-server/tests/test_search_aggregate.py:86
Method
test_limit_caps_results
The limit parameter caps the number of summaries returned.
src/cloudwatch-applicationsignals-mcp-server/tests/test_endpoint_metrics.py:377
Method
test_limit_exceeded_exception
Test handling of LimitExceededException.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:5333
Method
test_limit_param_forwarded
Limit parameter should be passed to start_query.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:878
Method
test_limit_respected
Limit caps the number of results.
src/roda-mcp-server/tests/test_server.py:424
Method
test_limit_respected
Limit caps related results.
src/roda-mcp-server/tests/test_server.py:483
Method
test_limit_respected
Limit caps number of results.
src/roda-mcp-server/tests/test_server.py:633
Method
test_line_breaks_alone_are_not_content
A body of <br> converts to spaces and newlines, which is not prose.
src/aws-documentation-mcp-server/tests/test_util.py:1088
Method
test_line_captures_with_locals_args_return_and_throwable
Line captures aggregate locals, arguments, return values, and throwables.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:1756
Method
test_line_explicit_stroke_overrides_theme
Test that an explicit stroke color overrides the theme default.
src/aws-healthomics-mcp-server/tests/test_svg_builder.py:364
Method
test_line_int_coercion
A numeric line label is coerced to int.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_query.py:195
Method
test_line_non_int_falls_back_to_raw
A non-integer line label falls back to the raw string value.
src/cloudwatch-applicationsignals-mcp-server/tests/test_promql_query.py:206
Method
test_line_number_below_one_reports_error
A line_number below 1 produces a range error.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:1878
Method
test_line_throwable_non_list_stacktrace_counts_zero
A line throwable with non-list stacktrace reports zero frames.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:1794
Method
test_linear_scaling_with_item_count
Doubling item_count doubles WCUs.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_transact_write_items.py:120
Method
test_linear_scaling_with_item_count
Doubling item_count exactly doubles RCUs.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_transact_get_items.py:115
Method
test_linear_scaling_with_item_count
Doubling item_count exactly doubles RCUs.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_batch_get_item.py:105
Method
test_linear_scaling_with_item_count
Doubling item_count doubles WCUs.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_batch_write_item.py:104
Method
test_linear_scaling_with_item_count
Doubling item_count must double RCUs when item_size is RCU-aligned.
src/dynamodb-mcp-server/tests/cost_performance_calculator/test_data_model_query.py:157
Method
test_link_local_blocked
Test link-local range (AWS IMDS) is blocked.
src/aws-appsync-mcp-server/tests/test_create_datasource.py:72
Method
test_link_preservation
Links in cells are preserved as markdown.
src/aws-documentation-mcp-server/tests/test_table_utils.py:195
Method
test_link_titles_are_not_repeated_from_the_href
default_title=True would render [text](url "url"), doubling every href.
src/aws-documentation-mcp-server/tests/test_util.py:224
Method
test_link_with_href_but_no_text
A link tag with href but empty text is skipped.
src/aws-documentation-mcp-server/tests/test_table_utils.py:579
Method
test_link_without_href
A link tag with text but no href renders as plain text.
src/aws-documentation-mcp-server/tests/test_table_utils.py:503
Method
test_lint_bundle_invalid_file_structure
Test bundle linting with malformed directory structure.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:361
Method
test_lint_bundle_large_workflow
Test performance with large workflow bundle.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:601
Method
test_lint_bundle_missing_main_file_cwl
Test CWL bundle linting with missing main file.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:329
Method
test_lint_bundle_mixed_file_types
Test bundle with both WDL and CWL files.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:571
Method
test_lint_clean_sql
Clean SQL returns empty diagnostics.
src/aurora-dsql-mcp-server/tests/test_dsql_lint.py:76
Method
test_lint_cwl_bundle_missing_imports
Test CWL bundle with missing import files.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:291
Method
test_lint_cwl_bundle_nested_imports
Test CWL bundle with nested directory imports.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:538
Method
test_lint_cwl_bundle_subprocess_exception
Test CWL bundle linting subprocess exception handling.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:937
Method
test_lint_cwl_bundle_success
Test successful CWL bundle linting with imports.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:228
Method
test_lint_cwl_bundle_tempdir_exception
Test CWL bundle linting with temporary directory creation error.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:965
Method
test_lint_cwl_bundle_timeout_handling
Test CWL bundle linting timeout handling.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:908
Method
test_lint_cwl_cleanup_exception
Test CWL linting with file cleanup exception.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:820
Method
test_lint_cwl_subprocess_exception
Test CWL linting subprocess exception handling.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:760
Method
test_lint_cwl_success
Test successful CWL linting.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:89
Method
test_lint_cwl_tempfile_exception
Test CWL linting with temporary file creation error.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:785
Method
test_lint_cwl_timeout_handling
Test CWL linting timeout handling.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:734
Method
test_lint_detects_serial_type
Detects SERIAL type usage and preserves full diagnostic fields.
src/aurora-dsql-mcp-server/tests/test_dsql_lint.py:95
Method
test_lint_wdl_bundle_nested_imports
Test WDL bundle with nested directory imports.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:502
Method
test_lint_wdl_bundle_subprocess_exception
Test WDL bundle linting subprocess exception handling.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:923
Method
test_lint_wdl_bundle_tempdir_exception
Test WDL bundle linting with temporary directory creation error.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:952
Method
test_lint_wdl_bundle_timeout_handling
Test WDL bundle linting timeout handling.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:894
Method
test_lint_wdl_cleanup_exception
Test WDL linting with file cleanup exception.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:799
Method
test_lint_wdl_subprocess_exception
Test WDL linting subprocess exception handling.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:748
Method
test_lint_wdl_success
Test successful WDL linting.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:50
Method
test_lint_wdl_tempfile_exception
Test WDL linting with temporary file creation error.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:774
Method
test_lint_wdl_timeout_handling
Test WDL linting timeout handling.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:722
Method
test_lint_wdl_validation_error
Test WDL linting with validation errors.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:71
Method
test_lint_workflow_bundle_api_exception
Test exception handling in lint_workflow_bundle API function.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:1011
Method
test_lint_workflow_bundle_cwl_elif_branch
Test CWL workflow bundle linting through public API.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:1124
Method
test_lint_workflow_bundle_exception_handling
Test exception handling in lint_workflow_bundle method.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:841
Method
test_lint_workflow_bundle_fallback_branch
Test unsupported format handling in bundle linting through public API.
src/aws-healthomics-mcp-server/tests/test_workflow_linting.py:1837
← previous
next →
21,701–21,800 of 32,024, ranked by callers