aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/cli_tests.py
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2018-02-28 12:47:53 +0100
committerSimon Warta <[email protected]>2018-02-28 12:47:53 +0100
commit804863233afb9c9804b2570b4ae3777399774275 (patch)
tree2e0f766c1c0996bd5341c5a8c0fabec3637e0f45 /src/scripts/cli_tests.py
parent45edefdf92ced2fdbf16bd9ecfea8de24732dc52 (diff)
Minor code styling updates in cli_tests.py
Diffstat (limited to 'src/scripts/cli_tests.py')
-rwxr-xr-xsrc/scripts/cli_tests.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/scripts/cli_tests.py b/src/scripts/cli_tests.py
index 5af8cc07b..185ff3880 100755
--- a/src/scripts/cli_tests.py
+++ b/src/scripts/cli_tests.py
@@ -22,7 +22,7 @@ SUPPORTED_ALGORITHMS = [
'AES-256/GCM',
'AES-128/OCB',
'AES-128/XTS',
- 'AES-256/XTS'
+ 'AES-256/XTS',
]
def append_ordered(base, additional_elements):
@@ -65,7 +65,8 @@ def create_test(data):
mode = "aes-128-xts"
elif algorithm == "AES-256/XTS":
mode = "aes-256-xts"
- else: raise Exception("Unknown algorithm: '" + algorithm + "'")
+ else:
+ raise Exception("Unknown algorithm: '" + algorithm + "'")
cmd = [
cli_binary,