File size: 850 Bytes
7885a28 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
from pathlib import Path
import pytest
@pytest.fixture
def xml_data_path():
return Path(__file__).parent.parent / "data" / "xml"
@pytest.fixture
def xml_books(xml_data_path, datapath):
return datapath(xml_data_path / "books.xml")
@pytest.fixture
def xml_doc_ch_utf(xml_data_path, datapath):
return datapath(xml_data_path / "doc_ch_utf.xml")
@pytest.fixture
def xml_baby_names(xml_data_path, datapath):
return datapath(xml_data_path / "baby_names.xml")
@pytest.fixture
def kml_cta_rail_lines(xml_data_path, datapath):
return datapath(xml_data_path / "cta_rail_lines.kml")
@pytest.fixture
def xsl_flatten_doc(xml_data_path, datapath):
return datapath(xml_data_path / "flatten_doc.xsl")
@pytest.fixture
def xsl_row_field_output(xml_data_path, datapath):
return datapath(xml_data_path / "row_field_output.xsl")
|