summaryrefslogtreecommitdiff
path: root/tests/test_crypto.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2023-02-13 17:06:56 +0100
committerGitHub <noreply@github.com>2023-02-13 10:06:56 -0600
commitcac747892be07a06d0315917fc72cfd06d10e471 (patch)
tree0112d78c7697b18ddf84c84a48d1507aff04f88a /tests/test_crypto.py
parent3517764ed5517a6d76078eb7e6696f1c0e153ad1 (diff)
downloadpyopenssl-git-cac747892be07a06d0315917fc72cfd06d10e471.tar.gz
Fix tests on Windows, add Windows CI (#1186)
* fix tests on Windows, add Windows CI * remove test safeguards from coverage
Diffstat (limited to 'tests/test_crypto.py')
-rw-r--r--tests/test_crypto.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_crypto.py b/tests/test_crypto.py
index 44bbd0f..4b63fa2 100644
--- a/tests/test_crypto.py
+++ b/tests/test_crypto.py
@@ -2524,7 +2524,7 @@ class TestPKCS12:
b"-passin",
b"pass:" + passwd,
*extra,
- )
+ ).replace(b"\r\n", b"\n")
assert recovered_key[-len(key) :] == key
if cert:
recovered_cert = _runopenssl(
@@ -2536,7 +2536,7 @@ class TestPKCS12:
b"pass:" + passwd,
b"-nokeys",
*extra,
- )
+ ).replace(b"\r\n", b"\n")
assert recovered_cert[-len(cert) :] == cert
if ca:
recovered_cert = _runopenssl(
@@ -2548,7 +2548,7 @@ class TestPKCS12:
b"pass:" + passwd,
b"-nokeys",
*extra,
- )
+ ).replace(b"\r\n", b"\n")
assert recovered_cert[-len(ca) :] == ca
def verify_pkcs12_container(self, p12):