Ensure get_fee returns something in tests

This commit is contained in:
Matthias
2024-04-27 18:26:43 +02:00
parent 3f2f2a1dbd
commit 3a2e3215b9
3 changed files with 3 additions and 2 deletions

View File

@@ -241,6 +241,7 @@ def patch_exchange(
if api_mock:
mocker.patch(f'{EXMS}._init_ccxt', return_value=api_mock)
else:
mocker.patch(f'{EXMS}.get_fee', return_value=0.025)
mocker.patch(f'{EXMS}._init_ccxt', MagicMock())
mocker.patch(f'{EXMS}.timeframes', PropertyMock(
return_value=['5m', '15m', '1h', '1d']))