Commit eddb072f authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Łukasz Nowak

fixup! caddy-frontend/test: Switch to cryptography

parent 17066d8b
...@@ -480,8 +480,8 @@ class SlaveHttpFrontendTestCase(HttpFrontendTestCase): ...@@ -480,8 +480,8 @@ class SlaveHttpFrontendTestCase(HttpFrontendTestCase):
@classmethod @classmethod
def stopServerProcess(cls): def stopServerProcess(cls):
if getattr(cls, 'test_server_certificate_file', None) is None: if getattr(cls, 'test_server_certificate_file', None) is not None:
os.unlink(cls.test_server_certificate_file) os.unlink(cls.test_server_certificate_file.name)
if getattr(cls, 'server_process', None) is None: if getattr(cls, 'server_process', None) is None:
return return
cls.server_process.terminate() cls.server_process.terminate()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment