Commit 459b3393 authored by Samuel GAIST's avatar Samuel GAIST

[test][schema] Refactored test and added protocoltemplate

parent f58d6f84
...@@ -37,31 +37,14 @@ ...@@ -37,31 +37,14 @@
from ..schema import load_schema from ..schema import load_schema
def test_common(): def test_load_schema():
for item in [
load_schema("common") "common",
"dataformat",
"algorithm",
def test_dataformat(): "protocoltemplate",
"database",
load_schema("dataformat") "toolchain",
"experiment",
]:
def test_algorithm(): yield load_schema, item
load_schema("algorithm")
def test_database():
load_schema("database")
def test_toolchain():
load_schema("toolchain")
def test_experiment():
load_schema("experiment")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment