Browse Source

made DummySheet available to all tests

pull/1/head
Holger Frey 5 years ago
parent
commit
2c3a13f342
  1. 9
      tests/conftest.py
  2. 9
      tests/test_superx_parser.py

9
tests/conftest.py

@ -3,6 +3,15 @@ from pathlib import Path @@ -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)

9
tests/test_superx_parser.py

@ -4,15 +4,6 @@ @@ -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

Loading…
Cancel
Save