Skip to content

Commit dd00070

Browse files
committed
update test to check only unit
1 parent 2e11eda commit dd00070

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_schemas.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
r"^#.*$",
1515
)
1616

17-
QUANTITY_TAGS = {"tag:stsci.edu:asdf/unit/quantity-1.*", "tag:astropy.org:astropy/units/quantity-1.*"}
1817
UNIT_TAGS = {"tag:stsci.edu:asdf/unit/unit-1.*", "tag:astropy.org:astropy/units/unit-1.*"}
1918

2019

@@ -40,10 +39,10 @@ def test_wildcard_tags(latest_schema):
4039
assert False, f"tag pattern missing wildcard: {pattern}"
4140

4241

43-
@pytest.mark.parametrize("tag_set", (QUANTITY_TAGS, UNIT_TAGS))
42+
@pytest.mark.parametrize("tag_set", (UNIT_TAGS,))
4443
def test_tags_in_allof(latest_schema, tag_set):
4544
"""
46-
Test that some tags (quantity and unit) where the
45+
Test that some tags (unit) where the
4746
tag used depends on the value are always referenced in an
4847
allof containing all tags.
4948
"""

0 commit comments

Comments
 (0)