mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Fix failing test
This commit is contained in:
parent
ca4d0067e4
commit
b116cc75c4
|
@ -192,6 +192,7 @@ def test_list_markets(mocker, markets, capsys):
|
|||
"BLK/BTC, BTT/BTC, ETH/BTC, ETH/USDT, LTC/USD, LTC/USDT, TKN/BTC, XLTCUSDT.\n"
|
||||
in captured.out)
|
||||
|
||||
patch_exchange(mocker, api_mock=api_mock, id="binance")
|
||||
# Test with --exchange
|
||||
args = [
|
||||
"list-markets",
|
||||
|
@ -201,9 +202,10 @@ def test_list_markets(mocker, markets, capsys):
|
|||
pargs['config'] = None
|
||||
start_list_markets(pargs, False)
|
||||
captured = capsys.readouterr()
|
||||
assert re.match("Exchange Binance has 8 active markets:\n",
|
||||
assert re.match("\nExchange Binance has 8 active markets:\n",
|
||||
captured.out)
|
||||
|
||||
patch_exchange(mocker, api_mock=api_mock, id="bittrex")
|
||||
# Test with --all: all markets
|
||||
args = [
|
||||
'--config', 'config.json.example',
|
||||
|
|
Loading…
Reference in New Issue
Block a user