Skip to content

Commit

Permalink
capitalize comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Clark committed Mar 23, 2022
1 parent f6a44a4 commit efa04fe
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tests/integrationv2/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,8 +673,8 @@ def create_priority_str(self):

priority_str += ":+COMP-NULL"

# digital signature option is not included for all the test RSA certs, so GnuTLS must be
# told to use these certs regardless. the %COMPAT priority string option enables this for
# A digital signature option is not included for the test RSA certs, so GnuTLS must be
# told to use these certs regardless. The %COMPAT priority string option enables this for
# client certificates, and the undocumented %DEBUG_ALLOW_KEY_USAGE_VIOLATIONS priority
# string option enables this for server certificates.
priority_str += ":%COMPAT"
Expand Down
2 changes: 1 addition & 1 deletion tests/integrationv2/test_fragmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def invalid_test_parameters_frag_len(*args, **kwargs):
provider = kwargs.get("provider")
frag_len = kwargs.get("frag_len")

# check to make sure frag_len is compatible with gnutls
# Check to make sure frag_len is compatible with gnutls.
if provider == GnuTLS:
if frag_len > 4096:
return True
Expand Down
2 changes: 1 addition & 1 deletion tests/integrationv2/test_happy_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,5 @@ def test_s2n_client_happy_path(managed_process, cipher, provider, curve, protoco
# the client exited cleanly.
for server_results in server.get_results():
server_results.assert_success()
# Avoid debugging information that sometimes gets inserted after the first character
# Avoid debugging information that sometimes gets inserted after the first character.
assert any([random_bytes[1:] in stream for stream in server_results.output_streams()])
6 changes: 3 additions & 3 deletions tests/integrationv2/test_ocsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_s2n_client_ocsp_response(managed_process, cipher, provider, curve, prot

for server_results in server.get_results():
server_results.assert_success()
# Avoid debugging information that sometimes gets inserted after the first character
# Avoid debugging information that sometimes gets inserted after the first character.
assert random_bytes[1:] in server_results.stdout or random_bytes[1:] in server_results.stderr


Expand Down Expand Up @@ -107,7 +107,7 @@ def test_s2n_server_ocsp_response(managed_process, cipher, provider, curve, prot

kill_marker = None
if provider == GnuTLS:
# the gnutls client hangs for a while after sending. speed up the tests by killing
# The GnuTLS client hangs for a while after sending. Speed up the tests by killing
# it immediately after sending the message.
kill_marker = b"Sent: "

Expand All @@ -126,5 +126,5 @@ def test_s2n_server_ocsp_response(managed_process, cipher, provider, curve, prot

for server_results in server.get_results():
server_results.assert_success()
# Avoid debugging information that sometimes gets inserted after the first character
# Avoid debugging information that sometimes gets inserted after the first character.
assert any([random_bytes[1:] in stream for stream in server_results.output_streams()])

0 comments on commit efa04fe

Please sign in to comment.