Update tests to not use Namespace

This commit is contained in:
Matthias
2019-09-12 20:25:27 +02:00
parent e6ccc1427c
commit 4d566e8bad
5 changed files with 55 additions and 53 deletions

View File

@@ -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)