tests: remove unnecessary log-config

This commit is contained in:
Matthias
2025-03-08 14:37:21 +01:00
parent 6edee269d8
commit 56c23f9dd8

View File

@@ -12,7 +12,6 @@ import pytest
from freqtrade.enums import CandleType from freqtrade.enums import CandleType
from freqtrade.exchange.exchange_utils import timeframe_to_prev_date from freqtrade.exchange.exchange_utils import timeframe_to_prev_date
from freqtrade.loggers.set_log_levels import set_loggers
from freqtrade.util.datetime_helpers import dt_now from freqtrade.util.datetime_helpers import dt_now
from tests.conftest import log_has_re from tests.conftest import log_has_re
from tests.exchange_online.conftest import EXCHANGE_WS_FIXTURE_TYPE from tests.exchange_online.conftest import EXCHANGE_WS_FIXTURE_TYPE
@@ -50,7 +49,6 @@ class TestCCXTExchangeWs:
assert res[pair_tf] is not None assert res[pair_tf] is not None
df1 = res[pair_tf] df1 = res[pair_tf]
caplog.set_level(logging.DEBUG) caplog.set_level(logging.DEBUG)
set_loggers(1)
assert df1.iloc[-1]["date"] == curr_candle assert df1.iloc[-1]["date"] == curr_candle
# Wait until the next candle (might be up to 1 minute). # Wait until the next candle (might be up to 1 minute).