aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-12-28 15:08:51 +0100
committerSimon Warta <[email protected]>2017-04-18 09:37:41 +0200
commit43dc17a7c7396e13fe51ba1c4b54e04631e2f7d9 (patch)
treed7e26ad42bcb6b2205903b5d4ca03be0e3c71fe3 /src/scripts
parent6d8104fc2641b6b1cda005d24953bca7009cf27b (diff)
Fix whitespace errors
Diffstat (limited to 'src/scripts')
-rwxr-xr-xsrc/scripts/cli_tests.py4
-rw-r--r--src/scripts/vecparser.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/scripts/cli_tests.py b/src/scripts/cli_tests.py
index b86d37b1b..07e5e339a 100755
--- a/src/scripts/cli_tests.py
+++ b/src/scripts/cli_tests.py
@@ -47,7 +47,7 @@ def create_test(data):
if direction == "decrypt":
invalue = ciphertext
else:
- invalue = plaintext
+ invalue = plaintext
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.PIPE)
out_raw = p.communicate(input=binascii.unhexlify(invalue))[0]
@@ -57,7 +57,7 @@ def create_test(data):
if direction == "decrypt":
expected = plaintext
else:
- expected = ciphertext
+ expected = ciphertext
actual = out
self.assertEqual(expected, actual)
return do_test_expected
diff --git a/src/scripts/vecparser.py b/src/scripts/vecparser.py
index 35ee626b8..707a58920 100644
--- a/src/scripts/vecparser.py
+++ b/src/scripts/vecparser.py
@@ -30,7 +30,7 @@ class VecDocument:
match = re.match(PATTERN_KEYVALUE, line)
key = match.group(1)
value = match.group(2).strip()
- current_testcase[key] = value
+ current_testcase[key] = value
if current_testcase_number != last_testcase_number:
if not current_group_name in self.data: