aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: