Skip to content

Commit

Permalink
Merge pull request #9 from nicholasjng/test-refactor
Browse files Browse the repository at this point in the history
Remove stale config file and fixture
  • Loading branch information
nicholasjng authored Jan 26, 2024
2 parents d5c2946 + ce87a6e commit 4a628c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
9 changes: 1 addition & 8 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from pathlib import Path
from typing import Any, Generator
from typing import Generator

import pytest
import yaml

import shelf.registry

Expand All @@ -16,9 +15,3 @@ def empty_registry() -> Generator[None, None, None]:
yield
finally:
shelf.registry._registry.clear()


@pytest.fixture(scope="session")
def fsconfig() -> dict[str, dict[str, Any]]:
with open(testdir / "shelfconfig.yaml", "r") as f:
return yaml.safe_load(f)
3 changes: 0 additions & 3 deletions tests/shelfconfig.yaml

This file was deleted.

0 comments on commit 4a628c1

Please sign in to comment.