pull/1387/head
Josselin Feist 2 years ago
parent 7261715b0c
commit 7951ec1c4e
  1. 12
      tests/test_ast_parsing.py

@ -470,15 +470,15 @@ def test_parsing(test_item: Test):
path_list = re.findall(r"\['(.*?)'\]", change.path()) path_list = re.findall(r"\['(.*?)'\]", change.path())
path = "_".join(path_list) path = "_".join(path_list)
with open( with open(
f"test_artifacts/{test_item.test_file}_{path}_expected.dot", f"test_artifacts/{test_item.test_file}_{path}_expected.dot",
"w", "w",
encoding="utf8", encoding="utf8",
) as f: ) as f:
f.write(change.t1) f.write(change.t1)
with open( with open(
f"test_artifacts/{test_item.test_file}_{version}_{flavor}_{path}_actual.dot", f"test_artifacts/{test_item.test_file}_{version}_{flavor}_{path}_actual.dot",
"w", "w",
encoding="utf8", encoding="utf8",
) as f: ) as f:
f.write(change.t2) f.write(change.t2)

Loading…
Cancel
Save