Skip to content

Commit

Permalink
ref: move testing data to its own directory
Browse files Browse the repository at this point in the history
  • Loading branch information
leclairm committed Nov 8, 2024
1 parent 5b5a7e2 commit 78fa026
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion tests/test_wc_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ def config_file_small():

@pytest.mark.parametrize("config_file", config_test_files)
def test_parse_config_file(config_file):
reference_str = Path(config_file).with_suffix(".txt").read_text()
config_path = Path(config_file)
reference_str = (config_path.parent/".."/"data"/config_path.name).with_suffix('.txt').read_text()
test_str = str(Workflow.from_yaml(config_file))
if test_str != reference_str:
new_path = Path(config_file).with_suffix(".new.txt")
Expand Down

0 comments on commit 78fa026

Please sign in to comment.