diff options
author | Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2024-05-05 18:11:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-05 16:11:26 +0000 |
commit | 9321740c2aaab4e07d7c028cef014dc410424047 (patch) | |
tree | fdce94ed08af4476eca213359a5f08c00b260146 /tests/x509 | |
parent | 43e905b5254176ebecb1e33a318abd24e9c6367b (diff) | |
download | pyca-cryptography-9321740c2aaab4e07d7c028cef014dc410424047.zip pyca-cryptography-9321740c2aaab4e07d7c028cef014dc410424047.tar.gz pyca-cryptography-9321740c2aaab4e07d7c028cef014dc410424047.tar.bz2 |
Apply ruff/flake8-implicit-str-concat rule ISC001 (#10932)
ISC001 Implicitly concatenated string literals on one line
This rule is currently disabled because it conflicts with the formatter:
https://github.com/astral-sh/ruff/issues/8272
Diffstat (limited to 'tests/x509')
-rw-r--r-- | tests/x509/test_ocsp.py | 4 | ||||
-rw-r--r-- | tests/x509/test_x509_ext.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/x509/test_ocsp.py b/tests/x509/test_ocsp.py index 335694c..8f5948b 100644 --- a/tests/x509/test_ocsp.py +++ b/tests/x509/test_ocsp.py @@ -79,10 +79,10 @@ class TestOCSPRequest: ocsp.load_der_ocsp_request, ) assert req.issuer_name_hash == ( - b"8\xcaF\x8c\x07D\x8d\xf4\x81\x96" b"\xc7mmLpQ\x9e`\xa7\xbd" + b"8\xcaF\x8c\x07D\x8d\xf4\x81\x96\xc7mmLpQ\x9e`\xa7\xbd" ) assert req.issuer_key_hash == ( - b"yu\xbb\x84:\xcb,\xdez\t\xbe1" b"\x1bC\xbc\x1c*MSX" + b"yu\xbb\x84:\xcb,\xdez\t\xbe1\x1bC\xbc\x1c*MSX" ) assert isinstance(req.hash_algorithm, hashes.SHA1) assert req.serial_number == int( diff --git a/tests/x509/test_x509_ext.py b/tests/x509/test_x509_ext.py index 44e8299..d11225f 100644 --- a/tests/x509/test_x509_ext.py +++ b/tests/x509/test_x509_ext.py @@ -2520,7 +2520,7 @@ class TestRSASubjectAlternativeNameExtension: assert ext is not None uri = ext.value.get_values_for_type(x509.UniformResourceIdentifier) assert uri == [ - "gopher://xn--80ato2c.cryptography:70/path?q=s#hel" "lo", + "gopher://xn--80ato2c.cryptography:70/path?q=s#hello", "http://someregulardomain.com", ] |