Updated script that can be controled by Nodejs web app

This commit is contained in:
mac OS
2024-11-25 12:24:18 +07:00
parent c440eda1f4
commit 8b0ab2bd3a
8662 changed files with 1803808 additions and 34 deletions

View File

@ -0,0 +1,38 @@
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")