fixed flake8 and mypy errors

This commit is contained in:
Aezo Teo
2021-12-29 21:48:50 +08:00
parent b6092e2e3c
commit ee7cbcd69f
4 changed files with 7 additions and 6 deletions

View File

@@ -317,7 +317,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 'ETH/BTC' in fields[1]
assert 'L' in fields[1]
assert 'ETH/BTC' in fields[2]
assert msg_mock.call_count == 1