Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pola-rs
GitHub Repository: pola-rs/polars
Path: blob/main/py-polars/tests/unit/io/cloud/test_catalog.py
6939 views
1
import pytest
2
3
import polars as pl
4
5
6
def test_catalog_require_https() -> None:
7
with pytest.raises(ValueError):
8
pl.Catalog("http://")
9
10
pl.Catalog("https://")
11
pl.Catalog("http://", require_https=False)
12
13