diff --git a/tests/data/test_history.py b/tests/data/test_history.py index 072bf00f5..6fd4d9569 100644 --- a/tests/data/test_history.py +++ b/tests/data/test_history.py @@ -556,7 +556,7 @@ def test_download_trades_history(trades_history, mocker, default_conf, testdatad assert ght_mock.call_count == 1 # Check this in seconds - since we had to convert to seconds above too. - assert int(ght_mock.call_args_list[0].kwargs['since'] // 1000) == since_time2 - 5 + assert int(ght_mock.call_args_list[0][1]['since'] // 1000) == since_time2 - 5 # clean files freshly downloaded _clean_test_file(file1)