Skip to content

Commit 5a98a49

Browse files
committed
Update test_pydantic.py
1 parent 8fcb6cb commit 5a98a49

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/envs/python/test_pydantic.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
from gen_pydantic import Test, Test2, Ontology # type: ignore
21
from uuid import UUID
32

3+
from gen_pydantic import Ontology, Test, Test2 # type: ignore
4+
45

56
def is_valid_uuid(uuid_str: str) -> bool:
67
try:
@@ -27,6 +28,8 @@ def is_valid_uuid(uuid_str: str) -> bool:
2728
assert result["@context"] == {
2829
"tst": "https://www.github.com/my/repo/",
2930
"schema": "http://schema.org/",
31+
"Test2": "https://www.github.com/my/repo/Test2/",
32+
"Ontology": "https://www.github.com/my/repo/Ontology/",
3033
"name": {
3134
"@id": "schema:hello",
3235
"@type": "@id",

0 commit comments

Comments
 (0)