Adjust expectation for get_markets calls in test_MarketCapPairList_timing

This commit is contained in:
mrpabloyeah
2025-08-11 23:54:50 +02:00
parent eaf76047e3
commit ecfa1fd5b5

View File

@@ -2404,7 +2404,7 @@ def test_MarketCapPairList_timing(mocker, default_conf_usdt, markets, time_machi
pm = PairListManager(exchange, default_conf_usdt)
markets_mock.reset_mock()
pm.refresh_pairlist()
assert markets_mock.call_count == 3
assert markets_mock.call_count == 4
markets_mock.reset_mock()
time_machine.move_to(start_dt + timedelta(hours=20))
@@ -2416,7 +2416,7 @@ def test_MarketCapPairList_timing(mocker, default_conf_usdt, markets, time_machi
time_machine.move_to(start_dt + timedelta(days=2))
pm.refresh_pairlist()
# No longer cached pairlist ...
assert markets_mock.call_count == 3
assert markets_mock.call_count == 4
def test_MarketCapPairList_filter_special_no_pair_from_coingecko(