Skip to content

Commit

Permalink
Fix saving md log/summary in test (#145)
Browse files Browse the repository at this point in the history
Co-authored-by: ElliottKasoar <ElliottKasoar@users.noreply.github.com>
  • Loading branch information
ElliottKasoar and ElliottKasoar committed May 15, 2024
1 parent 49cec6f commit 969f37e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_md_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,8 @@ def test_struct_name(tmp_path):
stats_path = tmp_path / f"{struct_name}-nvt-T10.0-stats.dat"
traj_path = tmp_path / f"{struct_name}-nvt-T10.0-traj.xyz"
final_path = tmp_path / f"{struct_name}-nvt-T10.0-final.xyz"
log_path = tmp_path / "test.log"
summary_path = tmp_path / "summary.yml"
result = runner.invoke(
app,
[
Expand All @@ -365,6 +367,10 @@ def test_struct_name(tmp_path):
"10",
"--struct-name",
str(struct_path),
"--log",
log_path,
"--summary",
summary_path,
],
)
assert result.exit_code == 0
Expand Down

0 comments on commit 969f37e

Please sign in to comment.