Skip to content

Commit abb06a4

Browse files
committed
RDBC-964 Fix SSLError in https test
1 parent 456675b commit abb06a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ravendb/tests/jvm_migrated_tests/https_tests/test_https.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import base64
22
import io
3+
import os
34
import tempfile
45
import unittest
56
from typing import Tuple
@@ -174,6 +175,7 @@ def test_can_use_server_generated_certificate(self):
174175
tmp = tempfile.mkstemp()
175176
with open(tmp[1], "wb") as file:
176177
file.write(key[0].encode("utf-8"))
178+
file.write(os.linesep.encode("utf-8"))
177179
file.write(key[1])
178180
store_with_out_cert.certificate_pem_path = tmp[1]
179181
store_with_out_cert.initialize()

0 commit comments

Comments
 (0)