Skip to content

Commit

Permalink
test document serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamd committed Oct 25, 2020
1 parent 4f93fea commit 6c0b262
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/emmet-core/test_structuremetadata.py
Expand Up @@ -58,3 +58,7 @@ def test_composition(structure):
assert meta_doc.formula_pretty == comp_meta_doc.formula_pretty
assert meta_doc.formula_anonymous == comp_meta_doc.formula_anonymous
assert meta_doc.chemsys == comp_meta_doc.chemsys


def test_schema():
StructureMetadata.schema()
4 changes: 4 additions & 0 deletions tests/emmet-core/vasp/test_materials.py
Expand Up @@ -30,3 +30,7 @@ def test_make_mat(test_tasks):

with pytest.raises(Exception):
MaterialsDoc.from_tasks(bad_task_group)


def test_schema():
MaterialsDoc.schema()

0 comments on commit 6c0b262

Please sign in to comment.