test for bittrex to reach 100% cov again

This commit is contained in:
kryofly 2018-01-13 14:29:16 +01:00
parent a62a5f814a
commit fc2e8b321f

View File

@ -335,3 +335,8 @@ def test_validate_response_min_trade_requirement_not_met():
}
with pytest.raises(ContentDecodingError, match=r'.*MIN_TRADE_REQUIREMENT_NOT_MET.*'):
Bittrex._validate_response(response)
def test_custom_requests(mocker):
mocker.patch('freqtrade.exchange.bittrex.requests', MagicMock())
btx.custom_requests('http://', '')