Skip to content

Commit 2b4c644

Browse files
EliEli
authored andcommitted
Another attempt to fix the $SCR being added to test locations.
1 parent 571a5eb commit 2b4c644

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
recursive-include dms_datastore/config_data *
22
include dms_datastore/usgs_parameter_cd_query.txt
3+
recursive-include tests/data *

tests/test_read_yaml_header.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
read_yaml_header,
1010
)
1111

12-
DATA_FILE = Path(__file__).parent.resolve() / "data" / "header_data.txt"
1312

1413

1514
def load_cases():
@@ -18,9 +17,10 @@ def load_cases():
1817
current_lines = []
1918
# This tedious way of doing things is to avoid some GiHub-side substitutions of $SRC that were not expanded
2019
_candidates = [
20+
Path(__file__).parent.resolve() / "data" / "header_data.txt",
2121
Path("tests/data/header_data.txt"),
2222
Path("data/header_data.txt"),
23-
Path(__file__).parent.resolve() / "data" / "header_data.txt",
23+
2424
]
2525

2626
for candidate in _candidates:

0 commit comments

Comments
 (0)