mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-01 17:43:06 +00:00
Update tests to not use Namespace
This commit is contained in:
@@ -344,7 +344,7 @@ def test_start_plot_profit_error(mocker):
|
||||
argsp = get_args(args)
|
||||
# Make sure we use no config. Details: #2241
|
||||
# not resetting config causes random failures if config.json exists
|
||||
argsp.config = []
|
||||
argsp["config"] = []
|
||||
with pytest.raises(OperationalException):
|
||||
start_plot_profit(argsp)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user