Nomad changes
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s

This commit is contained in:
Henrik Jess Nielsen
2026-06-01 23:40:55 +02:00
parent 72b1a0a6ed
commit b4c07d3693
5723 changed files with 1130655 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:4e15143f4af1ae8bafbdb1506ef057da924484c66a19483966333558ad437e75
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
# Issues & docs: https://github.com/kreuzberg-dev/alef
"""E2e tests for category: validator_management."""
import pytest # noqa: F401
from kreuzberg import clear_validators, list_validators
def _alef_e2e_text(value: object) -> str:
return "" if value is None else str(value)
def _alef_e2e_item_texts(item: object) -> tuple[str, ...]:
raw_items = getattr(item, "items", None)
items_text = " ".join(str(value) for value in raw_items) if isinstance(raw_items, list) else ""
return (
_alef_e2e_text(item),
_alef_e2e_text(getattr(item, "kind", None)),
_alef_e2e_text(getattr(item, "name", None)),
_alef_e2e_text(getattr(item, "source", None)),
_alef_e2e_text(getattr(item, "alias", None)),
_alef_e2e_text(getattr(item, "text", None)),
_alef_e2e_text(getattr(item, "signature", None)),
items_text,
)
def test_validators_clear() -> None:
"""Clear all validators and verify list is empty."""
_ = clear_validators()
def test_validators_list() -> None:
"""List all registered validators."""
_ = list_validators()