.............F.F........ [100%] =================================== FAILURES =================================== __________________________ test_half_kurus_rounds_up ___________________________ tmp_path = PosixPath('/tmp/pytest-of-unknown/pytest-0/test_half_kurus_rounds_up0') def test_half_kurus_rounds_up(tmp_path): res = run(tmp_path, HEADER + "X;1;10,005;0\nY;1;1,00;10\nZ;1;0,05;10\n") assert res.returncode == 0, res.stderr > assert totals(res.stdout) == ["11,06", "0,00", "0,11", "0,00", "0,00", "11,17"] E AssertionError: assert ['11,05', '0,...,00', '11,15'] == ['11,06', '0,...,00', '11,17'] E E At index 0 diff: '11,05' != '11,06' E Use -v to get more diff tests/test_totals.py:58: AssertionError _______________________ test_discount_applied_before_vat _______________________ tmp_path = PosixPath('/tmp/pytest-of-unknown/pytest-0/test_discount_applied_before_v0') def test_discount_applied_before_vat(tmp_path): res = run(tmp_path, HEADER + "X;1;100,01;20\nZ;1;0,01;0\n", "--indirim", "10") assert res.returncode == 0, res.stderr > assert totals(res.stdout) == ["90,02", "18,00", "0,00", "0,00", "0,00", "108,02"] E AssertionError: assert ['90,01', '18...00', '108,01'] == ['90,02', '18...00', '108,02'] E E At index 0 diff: '90,01' != '90,02' E Use -v to get more diff tests/test_totals.py:73: AssertionError ----------------- generated xml file: /work/creovum-report.xml ----------------- =========================== short test summary info ============================ FAILED tests/test_totals.py::test_half_kurus_rounds_up - AssertionError: asse... FAILED tests/test_totals.py::test_discount_applied_before_vat - AssertionErro... 2 failed, 22 passed in 3.35s