firestryker's picture
download
raw
467 Bytes
import os
import unittest
import certifi
class TestCertifi(unittest.TestCase):
def test_cabundle_exists(self) -> None:
assert os.path.exists(certifi.where())
def test_read_contents(self) -> None:
content = certifi.contents()
assert "-----BEGIN CERTIFICATE-----" in content
def test_py_typed_exists(self) -> None:
assert os.path.exists(
os.path.join(os.path.dirname(certifi.__file__), 'py.typed')
)

Xet Storage Details

Size:
467 Bytes
·
Xet hash:
eba343ce6f55e1ca82becff2a99adba3aa14c06cc37411c0ff58be47724fb16c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.