Update tests to properly mock fee

This commit is contained in:
Matthias
2024-04-27 19:52:48 +02:00
parent 3a2e3215b9
commit f259270e9c
6 changed files with 20 additions and 24 deletions

View File

@@ -241,7 +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}.get_fee', return_value=0.0025)
mocker.patch(f'{EXMS}._init_ccxt', MagicMock())
mocker.patch(f'{EXMS}.timeframes', PropertyMock(
return_value=['5m', '15m', '1h', '1d']))