Buckets:

download
raw
567 Bytes
import pytest
from tiled.adapters.mapping import MapAdapter
from tiled.client import Context, from_context, record_history
from tiled.server.app import build_app
@pytest.fixture(scope="module")
def context():
tree = MapAdapter({})
app = build_app(tree)
with Context.from_app(app) as context:
yield context
def test_history(context):
"Very basic exercise of history"
client = from_context(context)
with record_history() as history:
repr(client) # trigger a request
assert history.requests
assert history.responses

Xet Storage Details

Size:
567 Bytes
·
Xet hash:
1ccc761b4658251d7b64ea729c5797f0ddc0b986094b1001ffd3fdc5f91c6bce

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