Skip to content

Commit

Permalink
Switch out setup in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
scaramallion committed Feb 11, 2024
1 parent a473cfe commit 95446d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data_store/tests/test_pydicom.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@pytest.mark.skipif(not HAVE_PYDICOM, reason="pydicom not installed")
class TestPydicom:
"""Test the interface with pydicom works correctly."""
def setup(self):
def setup_method(self):
self.data_path = Path(__file__).resolve().parent.parent / "data"

def test_pydicom_local(self):
Expand Down
2 changes: 1 addition & 1 deletion data_store/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class TestDataStore:
"""Test the interface for the data sources"""
def setup(self):
def setup_method(self):
self.data_path = Path(__file__).resolve().parent.parent / "data"
self.fname = "693_UNCI.dcm"

Expand Down

0 comments on commit 95446d4

Please sign in to comment.