File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Examples/runtimes/python/DynamoDBEncryption/test Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+ # SPDX-License-Identifier: Apache-2.0
3+ """Test suite for the EncryptedClient example."""
4+ import pytest
5+
6+ from ..src .encrypted_paginator import encrypted_paginator_search_example
7+
8+ pytestmark = [pytest .mark .examples ]
9+
10+
11+ def test_encrypted_paginator_search_example ():
12+ """Test function for encrypt and decrypt using the EncryptedClient example."""
13+ test_kms_key_id = "arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f"
14+ test_dynamodb_table_name = "DynamoDbEncryptionInterceptorTestTable"
15+ encrypted_paginator_search_example (test_kms_key_id , test_dynamodb_table_name )
You can’t perform that action at this time.
0 commit comments