Lowercase exchange ID
This commit is contained in:
parent
756c284ecd
commit
8b51f5f563
@ -2341,7 +2341,7 @@ async def test__async_kucoin_get_candle_history(default_conf, mocker, caplog):
|
|||||||
"kucoin GET https://openapi-v2.kucoin.com/api/v1/market/candles?"
|
"kucoin GET https://openapi-v2.kucoin.com/api/v1/market/candles?"
|
||||||
"symbol=ETH-BTC&type=5min&startAt=1640268735&endAt=1640418735"
|
"symbol=ETH-BTC&type=5min&startAt=1640268735&endAt=1640418735"
|
||||||
"429 Too Many Requests" '{"code":"429000","msg":"Too Many Requests"}'))
|
"429 Too Many Requests" '{"code":"429000","msg":"Too Many Requests"}'))
|
||||||
exchange = get_patched_exchange(mocker, default_conf, api_mock, id="KuCoin")
|
exchange = get_patched_exchange(mocker, default_conf, api_mock, id="kucoin")
|
||||||
mocker.patch('freqtrade.exchange.Exchange.name', PropertyMock(return_value='KuCoin'))
|
mocker.patch('freqtrade.exchange.Exchange.name', PropertyMock(return_value='KuCoin'))
|
||||||
|
|
||||||
msg = "Kucoin 429 error, avoid triggering DDosProtection backoff delay"
|
msg = "Kucoin 429 error, avoid triggering DDosProtection backoff delay"
|
||||||
|
Loading…
Reference in New Issue
Block a user