Skip to content

Commit

Permalink
fix: hatch fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
leclairm committed Nov 8, 2024
1 parent ee023b6 commit 453cb1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_wc_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def config_file_small():
@pytest.mark.parametrize("config_file", config_test_files)
def test_parse_config_file(config_file):
config_path = Path(config_file)
reference_str = (config_path.parent/".."/"data"/config_path.name).with_suffix('.txt').read_text()
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 All @@ -29,5 +29,5 @@ def test_parse_config_file(config_file):
@pytest.mark.parametrize("config_file", config_test_files)
def test_serialize_workflow(config_file):
config_path = Path(config_file)
reference_path = (config_path.parent/".."/"data"/config_path.name).with_suffix('.txt')
reference_path = (config_path.parent / ".." / "data" / config_path.name).with_suffix(".txt")
reference_path.write_text(str(Workflow.from_yaml(config_file)))

0 comments on commit 453cb1b

Please sign in to comment.