Skip to content

Commit

Permalink
#470 Adjust cli test
Browse files Browse the repository at this point in the history
  • Loading branch information
N720720 committed Jun 6, 2024
1 parent 7738d99 commit 09e659f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_example/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def test_a_p_flags():

def test_t_flag():
flag = "-t"
res_str = "lindemann index for the Trajectory: 0.0264267"
res_str = "lindemann index for the Trajectory: 0.026426"
trajectory = ["tests/test_example/459_02.lammpstrj"]
single_process_and_multiprocess(trajectory, flag, res_str)

Expand All @@ -53,7 +53,7 @@ def test_m_flag():
def test_none_flag():
result = runner.invoke(app, ["tests/test_example/459_02.lammpstrj"])
assert result.exit_code == 0
assert "lindemann index for the Trajectory: 0.0264267" in result.stdout
assert "lindemann index for the Trajectory: 0.026426" in result.stdout


def test_none_flag_multi():
Expand All @@ -62,4 +62,4 @@ def test_none_flag_multi():
)
assert result.exit_code == 0
assert "0.0259238" in result.stdout
assert "0.0264267" in result.stdout
assert "0.026426" in result.stdout

0 comments on commit 09e659f

Please sign in to comment.