Skip to content

Commit

Permalink
Merge pull request #109 from daavid00/fixCheckFormat
Browse files Browse the repository at this point in the history
Fix test_7_data_format
  • Loading branch information
daavid00 authored Jan 28, 2025
2 parents 753c21e + 72c8cd1 commit ec02a9d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,5 @@ playground

# Tests
tests/configs/check_format.py
tests/configs/is_notebook.py
**/tests/configs/*/
21 changes: 11 additions & 10 deletions tests/test_7_data_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,17 @@ def test_format():
],
check=True,
)
subprocess.run(
[
"curl",
"-o",
"./check_format.py",
"https://raw.githubusercontent.com/Simulation-Benchmarks/11thSPE-CSP/"
+ "main/evaluation/check_format.py",
],
check=True,
)
for file in ["check_format", "is_notebook"]:
subprocess.run(
[
"curl",
"-o",
f"./{file}.py",
"https://raw.githubusercontent.com/Simulation-Benchmarks/11thSPE-CSP/"
+ f"main/evaluation/{file}.py",
],
check=True,
)
with Popen(
args="python3 check_format.py -f ./spe11a/data -c A", stdout=PIPE, shell=True
) as process:
Expand Down

0 comments on commit ec02a9d

Please sign in to comment.