Skip to content

Commit 397cf1c

Browse files
author
Lucas McDonald
committed
sync
1 parent 0ea0a8d commit 397cf1c

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
"""Stub to allow relative imports of examples from tests."""
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
"""Stub to allow relative imports of examples from tests."""
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
"""Test suite for the EncryptedPaginator example."""
4+
import pytest
5+
6+
from ...src.encrypted_paginator.encrypted_paginator_example import encrypted_paginator_example
7+
8+
pytestmark = [pytest.mark.examples]
9+
10+
11+
def test_encrypted_paginator_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_example(test_kms_key_id, test_dynamodb_table_name)

0 commit comments

Comments
 (0)