Skip to content

Commit b519f4d

Browse files
committed
Fix configuring dataset encryption test
1 parent 0dfa1c0 commit b519f4d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

python/pyarrow/tests/test_dataset_encryption.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def create_sample_table():
7272
)
7373

7474

75-
def create_encryption_config(footer_key, column_keys):
75+
def create_encryption_config(footer_key=FOOTER_KEY_NAME, column_keys=COLUMN_KEYS):
7676
return pe.EncryptionConfiguration(
7777
footer_key=footer_key,
7878
plaintext_footer=False,
@@ -88,7 +88,7 @@ def create_decryption_config():
8888
return pe.DecryptionConfiguration(cache_lifetime=300)
8989

9090

91-
def create_kms_connection_config(keys):
91+
def create_kms_connection_config(keys=KEYS):
9292
return pe.KmsConnectionConfig(
9393
custom_kms_conf={
9494
key_name: key.decode("UTF-8")

0 commit comments

Comments
 (0)