Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ec4eca1

Browse files
committedJan 22, 2019
simplify utils tests a little
1 parent fd63b16 commit ec4eca1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎test/functional/internal/test_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ def get_dummy_crypto_config(partition_key_name=None, sort_key_name=None, sign_ke
6969
)
7070
if sign_keys:
7171
actions.attribute_actions['partition-key'] = CryptoAction.SIGN_ONLY
72-
if sort_key_name is not None:
73-
actions.attribute_actions['sort-key'] = CryptoAction.SIGN_ONLY
72+
actions.attribute_actions['sort-key'] = CryptoAction.SIGN_ONLY
7473

7574
materials = Mock(spec=CryptographicMaterialsProvider) # type: CryptographicMaterialsProvider
7675
return CryptoConfig(materials_provider=materials, encryption_context=context, attribute_actions=actions)

0 commit comments

Comments
 (0)
Please sign in to comment.