Creating a budget overview from a SuperX export.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

20 lines
352 B

""" Global test fixtures and Mocks """
from pathlib import Path
import pytest
class MockWorkbookSheet:
def __init__(self, data):
self._data = data
@property
def rows(self):
return iter(self._data)
@pytest.fixture
def example_root(request):
root_dir = Path(request.config.rootdir)
yield root_dir / "test data"