test of check_consistency added

This commit is contained in:
misagh
2018-11-25 11:29:04 +01:00
parent 664b96173e
commit dcae3a2644
3 changed files with 8 additions and 10 deletions

View File

@@ -1173,13 +1173,6 @@ def test_get_fee(default_conf, mocker):
'get_fee', 'calculate_fee')
def test_stoploss_limit_available_only_for_binance(default_conf, mocker):
api_mock = MagicMock()
exchange = get_patched_exchange(mocker, default_conf, api_mock)
with pytest.raises(NotImplementedError):
exchange.stoploss_limit('BTC/ETH', 1, 0.8, 0.79)
def test_stoploss_limit_order(default_conf, mocker):
api_mock = MagicMock()
order_id = 'test_prod_buy_{}'.format(randint(0, 10 ** 6))