From 09e659f41f4fe43c4931d156f7a29fd6b403592c Mon Sep 17 00:00:00 2001 From: Sebastian Thurm Date: Thu, 6 Jun 2024 18:11:50 +0200 Subject: [PATCH] #470 Adjust cli test --- tests/test_example/test_cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_example/test_cli.py b/tests/test_example/test_cli.py index d1b8d0e..c9f4105 100644 --- a/tests/test_example/test_cli.py +++ b/tests/test_example/test_cli.py @@ -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) @@ -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(): @@ -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