Skip to content

Commit

Permalink
remove unused schema_tags fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Feb 7, 2024
1 parent 14bf10c commit 3ab4436
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,6 @@ def _get_tag(schema):
return None


@pytest.fixture(scope="session")
def schema_tags(schemas):
result = set()
for schema in schemas:
tag = _get_tag(schema)
if tag is not None:
result.add(tag)
return result


@pytest.fixture(scope="session")
def tag_to_schema(schemas):
result = {}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_version_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@


@pytest.mark.parametrize("path", VERSION_MAP_PATHS)
def test_version_map(path, schema_tags):
def test_version_map(path):
assert VALID_FILENAME_RE.match(path.name) is not None, f"{path.name} is an invalid version map filename"

assert_yaml_header_and_footer(path)
Expand Down

0 comments on commit 3ab4436

Please sign in to comment.