Only show long/short signals on telegram for non-spot markets

This commit is contained in:
Matthias
2022-04-09 17:09:04 +02:00
parent 81b41183a5
commit 139b65835c
2 changed files with 9 additions and 4 deletions

View File

@@ -398,8 +398,8 @@ def test_status_table_handle(default_conf, update, ticker, fee, mocker) -> None:
fields = re.sub('[ ]+', ' ', line[2].strip()).split(' ')
assert int(fields[0]) == 1
assert 'L' in fields[1]
assert 'ETH/BTC' in fields[2]
# assert 'L' in fields[1]
assert 'ETH/BTC' in fields[1]
assert msg_mock.call_count == 1