Use both old and new fixtures for test
This commit is contained in:
parent
fc110ea418
commit
6d7096dc66
@ -918,10 +918,11 @@ def test_start_test_pairlist(mocker, caplog, tickers, default_conf, capsys):
|
|||||||
captured.out)
|
captured.out)
|
||||||
|
|
||||||
|
|
||||||
def test_hyperopt_list(mocker, capsys, caplog, saved_hyperopt_results):
|
def test_hyperopt_list(mocker, capsys, caplog, saved_hyperopt_results, saved_hyperopt_results_legacy):
|
||||||
|
for _ in (saved_hyperopt_results, saved_hyperopt_results_legacy):
|
||||||
mocker.patch(
|
mocker.patch(
|
||||||
'freqtrade.optimize.hyperopt_tools.HyperoptTools.load_previous_results',
|
'freqtrade.optimize.hyperopt_tools.HyperoptTools.load_previous_results',
|
||||||
MagicMock(return_value=saved_hyperopt_results)
|
MagicMock(return_value=saved_hyperopt_results_legacy)
|
||||||
)
|
)
|
||||||
|
|
||||||
args = [
|
args = [
|
||||||
|
Loading…
Reference in New Issue
Block a user