herolib_python/_archive/openrpc/tools/test_imports.py
2025-08-05 15:15:36 +02:00

7 lines
212 B
Python

from heroserver.openrpc.tools import get_pydantic_type
# Simple test schema
test_schema = {"type": "string", "format": "email"}
result = get_pydantic_type(test_schema)
print(f"Test passed: {result == 'Email'}")