mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-02 10:03:05 +00:00
Fix remaining coingecko spellings
This commit is contained in:
@@ -90,7 +90,7 @@ def test_loadcryptomap(mocker):
|
||||
fiat_convert = CryptoToFiatConverter()
|
||||
assert len(fiat_convert._coinlistings) == 2
|
||||
|
||||
assert fiat_convert._get_gekko_id("btc") == "bitcoin"
|
||||
assert fiat_convert._get_gecko_id("btc") == "bitcoin"
|
||||
|
||||
|
||||
def test_fiat_init_network_exception(mocker):
|
||||
@@ -152,9 +152,9 @@ def test_fiat_multiple_coins(mocker, caplog):
|
||||
{'id': 'ethereum-wormhole', 'symbol': 'eth', 'name': 'Ethereum Wormhole'},
|
||||
]
|
||||
|
||||
assert fiat_convert._get_gekko_id('btc') == 'bitcoin'
|
||||
assert fiat_convert._get_gekko_id('hnt') is None
|
||||
assert fiat_convert._get_gekko_id('eth') == 'ethereum'
|
||||
assert fiat_convert._get_gecko_id('btc') == 'bitcoin'
|
||||
assert fiat_convert._get_gecko_id('hnt') is None
|
||||
assert fiat_convert._get_gecko_id('eth') == 'ethereum'
|
||||
|
||||
assert log_has('Found multiple mappings in CoinGecko for hnt.', caplog)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user