Update exchange validation to use "validate_exchange".

This commit is contained in:
Matthias
2021-04-06 20:16:29 +02:00
parent 5ed7828446
commit a3b4667f7c
4 changed files with 17 additions and 18 deletions

View File

@@ -565,7 +565,7 @@ def test_check_exchange(default_conf, caplog) -> None:
# Test a 'bad' exchange, which known to have serious problems
default_conf.get('exchange').update({'name': 'bitmex'})
with pytest.raises(OperationalException,
match=r"Exchange .* is known to not work with the bot yet.*"):
match=r"Exchange .* will not work with Freqtrade\..*"):
check_exchange(default_conf)
caplog.clear()