Files
ahriman/tests/ahriman/web/schemas/test_auth_schema.py

10 lines
198 B
Python

from ahriman.web.schemas import AuthSchema
def test_schema() -> None:
"""
must return valid schema
"""
schema = AuthSchema()
assert not schema.validate({"API_SESSION": "key"})