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():
3434 table = boto3 .resource ("dynamodb" ).Table (INTEG_TEST_DEFAULT_DYNAMODB_TABLE_NAME )
3535 return table
3636
37+
3738# Creates a matrix of tests for each value in param,
3839# with a user-friendly string for test output:
3940# encrypted = True -> "encrypted"
@@ -42,6 +43,7 @@ def plaintext_table():
4243def encrypted (request ):
4344 return request .param
4445
46+
4547@pytest .fixture
4648def table (encrypted ):
4749 """
@@ -141,6 +143,7 @@ def test_GIVEN_items_in_table_WHEN_query_THEN_items_are_decrypted_correctly(tabl
141143 assert len (query_response ["Items" ]) == 1
142144 assert query_response ["Items" ][0 ] == put_item_request_dict ["Item" ]
143145
146+
144147@pytest .fixture
145148def scan_request (encrypted , test_item ):
146149 if encrypted :
You can’t perform that action at this time.
0 commit comments