mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-13 03:33:55 +00:00
Remove non-needed parameters from tests
This commit is contained in:
parent
af1b3721fb
commit
4cb331b5ad
|
@ -1101,7 +1101,7 @@ def test_process_temporary_deprecated_settings(mocker, default_conf, setting, ca
|
||||||
("experimental", "sell_profit_only", True),
|
("experimental", "sell_profit_only", True),
|
||||||
("experimental", "ignore_roi_if_buy_signal", True),
|
("experimental", "ignore_roi_if_buy_signal", True),
|
||||||
])
|
])
|
||||||
def test_process_removed_settings(mocker, default_conf, setting, caplog):
|
def test_process_removed_settings(mocker, default_conf, setting):
|
||||||
patched_configuration_load_config_file(mocker, default_conf)
|
patched_configuration_load_config_file(mocker, default_conf)
|
||||||
|
|
||||||
# Create sections for new and deprecated settings
|
# Create sections for new and deprecated settings
|
||||||
|
@ -1115,7 +1115,8 @@ def test_process_removed_settings(mocker, default_conf, setting, caplog):
|
||||||
match=r'Setting .* has been moved'):
|
match=r'Setting .* has been moved'):
|
||||||
process_temporary_deprecated_settings(default_conf)
|
process_temporary_deprecated_settings(default_conf)
|
||||||
|
|
||||||
def test_process_deprecated_setting_edge(mocker, edge_conf, caplog):
|
|
||||||
|
def test_process_deprecated_setting_edge(mocker, edge_conf):
|
||||||
patched_configuration_load_config_file(mocker, edge_conf)
|
patched_configuration_load_config_file(mocker, edge_conf)
|
||||||
edge_conf.update({'edge': {
|
edge_conf.update({'edge': {
|
||||||
'enabled': True,
|
'enabled': True,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user