Buckets:

download
raw
924 Bytes
from __future__ import annotations
import os
import pytest
from tests.e2e.cognito_test_user import ensure_test_user
@pytest.fixture(scope="session")
def base_url() -> str:
return os.getenv("BLOOM_BASE_URL", "https://localhost:18912").rstrip("/")
@pytest.fixture(scope="session")
def e2e_credentials():
if not os.getenv("E2E_COGNITO_USER_POOL_ID") or not os.getenv("E2E_COGNITO_REGION"):
pytest.skip(
"Bloom Playwright e2e requires E2E_COGNITO_USER_POOL_ID and E2E_COGNITO_REGION."
)
return ensure_test_user()
@pytest.fixture(scope="session")
def e2e_email(e2e_credentials) -> str:
return e2e_credentials.email
@pytest.fixture(scope="session")
def e2e_password(e2e_credentials) -> str:
return e2e_credentials.password
@pytest.fixture(scope="session")
def browser_context_args(browser_context_args):
return {**browser_context_args, "ignore_https_errors": True}

Xet Storage Details

Size:
924 Bytes
·
Xet hash:
2fd26057c8f5bb1872646581d1d9aefbf83e0bdd5afd5f20ea073b0cdebe374d

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