table-comparator / tests /conftest.py
Jakub
Initial commit: table-comparator
531d507
Raw History Blame Contribute Delete
366 Bytes
"""Shared fixtures for the test suite."""
from pathlib import Path
import pandas as pd
import pytest
SAMPLE_DIR = Path(__file__).resolve().parent.parent / "sample_data"
@pytest.fixture
def df_a() -> pd.DataFrame:
return pd.read_csv(SAMPLE_DIR / "table_a.csv")
@pytest.fixture
def df_b() -> pd.DataFrame:
return pd.read_csv(SAMPLE_DIR / "table_b.csv")