Consistent CoinGecko naming in test_fiat_convert.py
This commit is contained in:
parent
7db3c846b4
commit
60d52f0a20
@ -137,7 +137,7 @@ def test_fiat_too_many_requests_response(mocker, caplog):
|
||||
assert len(fiat_convert._coinlistings) == 0
|
||||
assert fiat_convert._backoff > datetime.datetime.now().timestamp()
|
||||
assert log_has(
|
||||
'Too many requests for Coingecko API, backing off and trying again later.',
|
||||
'Too many requests for CoinGecko API, backing off and trying again later.',
|
||||
caplog
|
||||
)
|
||||
|
||||
@ -156,7 +156,7 @@ def test_fiat_multiple_coins(mocker, caplog):
|
||||
assert fiat_convert._get_gekko_id('hnt') is None
|
||||
assert fiat_convert._get_gekko_id('eth') == 'ethereum'
|
||||
|
||||
assert log_has('Found multiple mappings in goingekko for hnt.', caplog)
|
||||
assert log_has('Found multiple mappings in CoinGecko for hnt.', caplog)
|
||||
|
||||
|
||||
def test_fiat_invalid_response(mocker, caplog):
|
||||
|
Loading…
Reference in New Issue
Block a user