Skip to content

Commit 655efc9

Browse files
committed
Remove symbol from progress bar tests
1 parent 192a437 commit 655efc9

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

tests/test_md.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ def test_heating(tmp_path, capsys, ensemble):
731731
assert final_file.exists()
732732

733733
# Check progress bar has completed.
734-
assert "━━ 2/2" in capsys.readouterr().out
734+
assert "2/2" in capsys.readouterr().out
735735

736736

737737
@pytest.mark.parametrize("ensemble", ensembles_without_thermostat)
@@ -835,7 +835,7 @@ def test_heating_md(tmp_path, capsys, ensemble):
835835
assert stat_data.units[target_t_col] == "K"
836836

837837
# Check progress bar has completed.
838-
assert "━━ 9/9" in capsys.readouterr().out
838+
assert "9/9" in capsys.readouterr().out
839839

840840

841841
def test_heating_restart(tmp_path, capsys):
@@ -879,7 +879,7 @@ def test_heating_restart(tmp_path, capsys):
879879
assert stat_data.data[8, target_t_col] == 30
880880

881881
# Check progress bar is correct.
882-
assert "━━ 8/8" in capsys.readouterr().out
882+
assert "8/8" in capsys.readouterr().out
883883

884884

885885
def test_heating_files():
@@ -1049,7 +1049,7 @@ def test_cooling(tmp_path, capsys):
10491049
assert stats.data[2, 16] == 10.0
10501050

10511051
# Check progress bar
1052-
assert "━━ 2/2" in capsys.readouterr().out
1052+
assert "2/2" in capsys.readouterr().out
10531053

10541054

10551055
def test_heating_too_short(tmp_path):
@@ -1234,7 +1234,7 @@ def test_auto_restart(tmp_path, capsys):
12341234
assert len(final_traj) == 8
12351235

12361236
# Check progress bar has completed.
1237-
assert "━━ 7/7" in capsys.readouterr().out
1237+
assert "7/7" in capsys.readouterr().out
12381238

12391239
finally:
12401240
shutil.rmtree(results_dir, ignore_errors=True)
@@ -1366,4 +1366,4 @@ def test_progress_bar_complete(tmp_path, capsys, ensemble, tag):
13661366
md.run()
13671367

13681368
# Check progress bar has completed.
1369-
assert "━━ 2/2" in capsys.readouterr().out
1369+
assert "2/2" in capsys.readouterr().out

tests/test_md_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def test_md(ensemble):
157157

158158
check_output_files(summary=summary, output_files=output_files)
159159

160-
assert "━━ 2/2" in result.output
160+
assert "2/2" in result.output
161161

162162
finally:
163163
shutil.rmtree(results_dir, ignore_errors=True)

0 commit comments

Comments
 (0)