From 6ab0e870c22b492e0f2d4ad8beddf22fee0c6c0f Mon Sep 17 00:00:00 2001 From: Sam Germain Date: Fri, 31 Dec 2021 05:01:19 -0600 Subject: [PATCH] fixed breaking test test_amount_to_precision --- tests/exchange/test_exchange.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/exchange/test_exchange.py b/tests/exchange/test_exchange.py index c467c9457..429ba153f 100644 --- a/tests/exchange/test_exchange.py +++ b/tests/exchange/test_exchange.py @@ -237,8 +237,8 @@ def test_validate_order_time_in_force(default_conf, mocker, caplog): (2.34559, 4, 0.001, 1, 2.345), (2.9999, 4, 0.001, 1, 2.999), (2.9909, 4, 0.001, 1, 2.990), - (2.9909, 4, 0.005, 0.01, 0.025), - (2.9999, 4, 0.005, 10, 29.995), + (2.9909, 4, 0.005, 0.01, 299.09), + (2.9999, 4, 0.005, 10, 0.295), ]) def test_amount_to_precision(default_conf, mocker, amount, precision_mode, precision, contract_size, expected): """