Skip to content

Commit

Permalink
fix: mark all associate with aind_data_schema xfail
Browse files Browse the repository at this point in the history
To postpone the support of `aind_data_schema`
and focusing on supporting dandischema for now
candleindark committed Nov 27, 2024
1 parent e126613 commit aa7afed
Showing 1 changed file with 25 additions and 14 deletions.
39 changes: 25 additions & 14 deletions tests/test_gen_linkml.py
Original file line number Diff line number Diff line change
@@ -119,24 +119,35 @@ class TestLinkmlGenerator:
"models_and_enums",
[
["dandischema.models"],
["aind_data_schema.components.coordinates"],
# === Remove all tests associated with aind_data_schema until works for
# dandischema is complete ===
pytest.param(
["aind_data_schema.components.coordinates"], marks=pytest.mark.xfail
),
# Naming conflict at this one
# TODO: remove xfail mark once handling of the naming conflict is devised
pytest.param(
["aind_data_schema.components.devices"], marks=pytest.mark.xfail
),
["aind_data_schema.components.reagent"],
["aind_data_schema.components.stimulus"],
["aind_data_schema.components.tile"],
["aind_data_schema.core.acquisition"],
["aind_data_schema.core.data_description"],
["aind_data_schema.core.instrument"],
["aind_data_schema.core.metadata"],
["aind_data_schema.core.procedures"],
["aind_data_schema.core.processing"],
["aind_data_schema.core.rig"],
["aind_data_schema.core.session"],
["aind_data_schema.core.subject"],
pytest.param(
["aind_data_schema.components.reagent"], marks=pytest.mark.xfail
),
pytest.param(
["aind_data_schema.components.stimulus"], marks=pytest.mark.xfail
),
pytest.param(["aind_data_schema.components.tile"], marks=pytest.mark.xfail),
pytest.param(
["aind_data_schema.core.acquisition"], marks=pytest.mark.xfail
),
pytest.param(
["aind_data_schema.core.data_description"], marks=pytest.mark.xfail
),
pytest.param(["aind_data_schema.core.instrument"], marks=pytest.mark.xfail),
pytest.param(["aind_data_schema.core.metadata"], marks=pytest.mark.xfail),
pytest.param(["aind_data_schema.core.procedures"], marks=pytest.mark.xfail),
pytest.param(["aind_data_schema.core.processing"], marks=pytest.mark.xfail),
pytest.param(["aind_data_schema.core.rig"], marks=pytest.mark.xfail),
pytest.param(["aind_data_schema.core.session"], marks=pytest.mark.xfail),
pytest.param(["aind_data_schema.core.subject"], marks=pytest.mark.xfail),
# TODO: Add test cases with list containing multiple module names
],
indirect=True,

0 comments on commit aa7afed

Please sign in to comment.