remove amount_to_lots (deprecated / removed)

was removed from ccxt in
527f082e59
This commit is contained in:
Matthias
2018-08-21 19:08:21 +02:00
parent 4bf0542204
commit 6e90d482ef
2 changed files with 0 additions and 21 deletions

View File

@@ -823,15 +823,3 @@ def test_get_fee(default_conf, mocker):
ccxt_exceptionhandlers(mocker, default_conf, api_mock,
'get_fee', 'calculate_fee')
def test_get_amount_lots(default_conf, mocker):
api_mock = MagicMock()
api_mock.amount_to_lots = MagicMock(return_value=1.0)
api_mock.markets = None
marketmock = MagicMock()
api_mock.load_markets = marketmock
exchange = get_patched_exchange(mocker, default_conf, api_mock)
assert exchange.get_amount_lots('LTC/BTC', 1.54) == 1
assert marketmock.call_count == 1