From 15c56e55c1e256dbbb532ea1fc0349e422678121 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 9 May 2024 20:40:43 +0200 Subject: [PATCH] Fix test directory pollution --- tests/conftest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 4eabbe7fd..900b89c39 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -221,6 +221,8 @@ def patch_exchange( mocker.patch(f'{EXMS}.id', PropertyMock(return_value=id)) mocker.patch(f'{EXMS}.name', PropertyMock(return_value=id.title())) mocker.patch(f'{EXMS}.precisionMode', PropertyMock(return_value=2)) + # Temporary patch ... + mocker.patch('freqtrade.exchange.bybit.Bybit.cache_leverage_tiers') if mock_markets: if isinstance(mock_markets, bool):