diff options
author | Jack Lloyd <[email protected]> | 2018-03-10 20:11:45 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-10 20:11:45 -0500 |
commit | 3f8f440e91b950c2d682f5648a86f55fcb9cdc57 (patch) | |
tree | 510ef46501b7cc6cfa7f4078dac201709d9e75e2 /src/scripts/test_cli.py | |
parent | 7716c614db6637f692ea6217fecfcbdcd7dc2839 (diff) |
Lint fixes
Diffstat (limited to 'src/scripts/test_cli.py')
-rwxr-xr-x | src/scripts/test_cli.py | 3 |
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: |