Enable caching for "filter only" Volumepairlist

This commit is contained in:
Matthias
2024-02-15 18:16:55 +01:00
parent 7f7e9ec875
commit a22181d721
2 changed files with 13 additions and 5 deletions

View File

@@ -713,7 +713,7 @@ def test_VolumePairList_range(
ohclv_mock.reset_mock()
freqtrade.pairlists.refresh_pairlist()
# in "filter" mode, caching is disabled.
assert ohclv_mock.call_count == (0 if len(pairlists) == 1 else 1)
assert ohclv_mock.call_count == 0
whitelist = freqtrade.pairlists.whitelist
assert whitelist == volumefilter_result