mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-18 22:01:15 +00:00
Remove no longer existing exchange aliases from tests
This commit is contained in:
@@ -41,14 +41,14 @@ def test_check_exchange(default_conf, caplog) -> None:
|
|||||||
caplog.clear()
|
caplog.clear()
|
||||||
|
|
||||||
# Test an officially supported by Freqtrade team exchange - with remapping
|
# Test an officially supported by Freqtrade team exchange - with remapping
|
||||||
default_conf.get('exchange').update({'name': 'okex'})
|
default_conf.get('exchange').update({'name': 'okx'})
|
||||||
assert check_exchange(default_conf)
|
assert check_exchange(default_conf)
|
||||||
assert log_has_re(
|
assert log_has_re(
|
||||||
r"Exchange \"okex\" is officially supported by the Freqtrade development team\.",
|
r"Exchange \"okx\" is officially supported by the Freqtrade development team\.",
|
||||||
caplog)
|
caplog)
|
||||||
caplog.clear()
|
caplog.clear()
|
||||||
# Test an available exchange, supported by ccxt
|
# Test an available exchange, supported by ccxt
|
||||||
default_conf.get('exchange').update({'name': 'huobipro'})
|
default_conf.get('exchange').update({'name': 'huobijp'})
|
||||||
assert check_exchange(default_conf)
|
assert check_exchange(default_conf)
|
||||||
assert log_has_re(r"Exchange .* is known to the the ccxt library, available for the bot, "
|
assert log_has_re(r"Exchange .* is known to the the ccxt library, available for the bot, "
|
||||||
r"but not officially supported "
|
r"but not officially supported "
|
||||||
|
|||||||
Reference in New Issue
Block a user