Skip to content

Commit

Permalink
add broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Dec 12, 2023
1 parent 8353430 commit b10c56a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_serialization.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from __future__ import annotations

import json
import pickle
import re
import sys
Expand Down Expand Up @@ -166,3 +167,9 @@ def test_canonicalize() -> None:
pytest.importorskip("lxml")
ome = from_xml(DATA / "example.ome.xml", validate=True)
_ = to_xml(ome, validate=True, canonicalize=True)


def test_export_schema() -> None:
schema = OME.model_json_schema()
assert isinstance(schema, dict)
assert isinstance(str, json.dumps(schema))

0 comments on commit b10c56a

Please sign in to comment.