mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
tests: remove unnecessary log-config
This commit is contained in:
@@ -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).
|
||||||
|
|||||||
Reference in New Issue
Block a user