Fix remaining coingecko spellings

This commit is contained in:
Matthias
2024-04-25 10:28:25 +02:00
parent 2d9be6c818
commit 96bb4db68e
2 changed files with 9 additions and 9 deletions

View File

@@ -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)