Buckets:

download
raw
579 Bytes
import pytest
from fastlife.config.configurator import ConfigurationError, Configurator
def test_resource_missing_path(conf: Configurator):
with pytest.raises(ConfigurationError) as ctx:
conf.include("tests.unittests.config.my_broken_resource")
assert str(ctx.value) == "path not set on resource foo"
def test_collection_missing_collection_path(conf: Configurator):
with pytest.raises(ConfigurationError) as ctx:
conf.include("tests.unittests.config.my_broken_collection")
assert str(ctx.value) == "collection_path not set on resource foo"

Xet Storage Details

Size:
579 Bytes
·
Xet hash:
ad6c9e1d8cc5c61d580c6a6a6e266e342d55930a75a1dfff28032e6218c201b5

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