diff --git a/tests/conftest.py b/tests/conftest.py index 3428f80..f9b3b3a 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -3,6 +3,15 @@ from pathlib import Path import pytest +class DummySheet: + def __init__(self, data): + self._data = data + + @property + def rows(self): + return iter(self._data) + + @pytest.fixture def example_file(request): root_dir = Path(request.config.rootdir) diff --git a/tests/test_superx_parser.py b/tests/test_superx_parser.py index ff7451a..0d11da3 100644 --- a/tests/test_superx_parser.py +++ b/tests/test_superx_parser.py @@ -4,15 +4,6 @@ import pytest -class DummySheet: - def __init__(self, data): - self._data = data - - @property - def rows(self): - return iter(self._data) - - @pytest.fixture def example_workbook(example_file): import openpyxl