Skip to content
Snippets Groups Projects
Commit f931dca8 authored by dilawar's avatar dilawar :ant:
Browse files

fix (test): Fixes to tests.

parent dfda8dc2
No related branches found
No related tags found
1 merge request!4Resolve "Enable docs"
Pipeline #3801 failed with stages
in 2 minutes and 22 seconds
This commit is part of merge request !4. Comments created here will be created in the context of that merge request.
...@@ -19,7 +19,7 @@ def test_run_repeat(capsys): ...@@ -19,7 +19,7 @@ def test_run_repeat(capsys):
l1 = capsys.readouterr().out # reset the internal buffer. l1 = capsys.readouterr().out # reset the internal buffer.
bitia.__main__.run_user_input("ls -ltr /", rerun=False) bitia.__main__.run_user_input("ls -ltr /", rerun=False)
l2 = capsys.readouterr().out l2 = capsys.readouterr().out
assert_almost_equal(l1, l2, 0.9) assert_almost_equal(l1, l2, 0.85)
def test_run_simple(capsys): def test_run_simple(capsys):
...@@ -31,4 +31,4 @@ def test_run_simple(capsys): ...@@ -31,4 +31,4 @@ def test_run_simple(capsys):
bitia.__main__.run_user_input("ls -ltr /", rerun=True) bitia.__main__.run_user_input("ls -ltr /", rerun=True)
captured = capsys.readouterr() captured = capsys.readouterr()
l2 = captured.out l2 = captured.out
assert_almost_equal(l1, l2, 0.88) assert_almost_equal(l1, l2, 0.85)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment