aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/scripts/test_cli.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scripts/test_cli.py b/src/scripts/test_cli.py
index 03651c4f1..10c1d820d 100755
--- a/src/scripts/test_cli.py
+++ b/src/scripts/test_cli.py
@@ -264,7 +264,7 @@ def cli_tls_ciphersuite_tests():
output = test_cli("tls_ciphers", ["--version=" + version, "--policy=" + policy], None).split('\n')
for line in output:
- if ciphersuite_re.match(line) == None:
+ if ciphersuite_re.match(line) is None:
logging.error("Unexpected ciphersuite line %s", line)
def cli_speed_tests():
@@ -273,6 +273,7 @@ def cli_speed_tests():
if len(output) != 4:
logging.error("Unexpected number of lines for AES-128 speed test")
+ # pylint: disable=line-too-long
format_re = re.compile(r'^AES-128 .* buffer size [0-9]+ bytes: [0-9]+\.[0-9]+ MiB\/sec .*\([0-9]+\.[0-9]+ MiB in [0-9]+\.[0-9]+ ms\)')
for line in output:
if format_re.match(line) is None: