File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
DynamoDbEncryption/runtimes/python/test/integ/encrypted Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ def plaintext_table():
34
34
table = boto3 .resource ("dynamodb" ).Table (INTEG_TEST_DEFAULT_DYNAMODB_TABLE_NAME )
35
35
return table
36
36
37
+
37
38
# Creates a matrix of tests for each value in param,
38
39
# with a user-friendly string for test output:
39
40
# encrypted = True -> "encrypted"
@@ -42,6 +43,7 @@ def plaintext_table():
42
43
def encrypted (request ):
43
44
return request .param
44
45
46
+
45
47
@pytest .fixture
46
48
def table (encrypted ):
47
49
"""
@@ -141,6 +143,7 @@ def test_GIVEN_items_in_table_WHEN_query_THEN_items_are_decrypted_correctly(tabl
141
143
assert len (query_response ["Items" ]) == 1
142
144
assert query_response ["Items" ][0 ] == put_item_request_dict ["Item" ]
143
145
146
+
144
147
@pytest .fixture
145
148
def scan_request (encrypted , test_item ):
146
149
if encrypted :
You can’t perform that action at this time.
0 commit comments