Use bundled CA certs on Linux binary builds as well

Makes it consistent with macOS
This commit is contained in:
Kovid Goyal
2021-08-16 22:47:53 +05:30
parent aa525c68c7
commit f0e7344bc8
3 changed files with 19 additions and 32 deletions

View File

@@ -58,9 +58,6 @@ class TestBuild(BaseTest):
import sys
if not getattr(sys, 'frozen', False):
self.skipTest('CA certificates are only tested on frozen builds')
from kitty.constants import is_macos
if not is_macos:
self.skipTest('CA certificates are only bundled on macOS')
c = ssl.create_default_context()
self.assertGreater(c.cert_store_stats()['x509_ca'], 2)