-
-
Notifications
You must be signed in to change notification settings - Fork 17.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TST: refactor data path for xml tests (#53766)
* TST: refactor data path for xml tests * fix style * fix typo
- Loading branch information
1 parent
841ebb1
commit 942bf3e
Showing
4 changed files
with
153 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import pytest | ||
|
||
|
||
@pytest.fixture | ||
def xml_data_path(tests_io_data_path): | ||
return tests_io_data_path / "xml" | ||
|
||
|
||
@pytest.fixture | ||
def xml_books(xml_data_path): | ||
return xml_data_path / "books.xml" | ||
|
||
|
||
@pytest.fixture | ||
def xml_doc_ch_utf(xml_data_path): | ||
return xml_data_path / "doc_ch_utf.xml" | ||
|
||
|
||
@pytest.fixture | ||
def xml_baby_names(xml_data_path): | ||
return xml_data_path / "baby_names.xml" | ||
|
||
|
||
@pytest.fixture | ||
def kml_cta_rail_lines(xml_data_path): | ||
return xml_data_path / "cta_rail_lines.kml" | ||
|
||
|
||
@pytest.fixture | ||
def xsl_flatten_doc(xml_data_path): | ||
return xml_data_path / "flatten_doc.xsl" |
Oops, something went wrong.