Use different keys and values

This commit is contained in:
Matthias 2019-10-06 14:33:23 +02:00
parent d2589c4415
commit 33940ae66b

View File

@ -52,11 +52,11 @@ def test_list_exchanges(capsys):
def test_list_timeframes(mocker, capsys): def test_list_timeframes(mocker, capsys):
api_mock = MagicMock() api_mock = MagicMock()
api_mock.timeframes = {'1m': '1m', api_mock.timeframes = {'1m': 'oneMin',
'5m': '5m', '5m': 'fiveMin',
'30m': '30m', '30m': 'thirtyMin',
'1h': '1h', '1h': 'hour',
'1d': '1d', '1d': 'day',
} }
patch_exchange(mocker, api_mock=api_mock) patch_exchange(mocker, api_mock=api_mock)
args = [ args = [