From 3030bf9778f4d23d2237432e5c840c6e5c74f374 Mon Sep 17 00:00:00 2001 From: Anton Date: Mon, 4 Jun 2018 01:52:54 +0300 Subject: [PATCH] Fix types --- freqtrade/tests/test_configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/tests/test_configuration.py b/freqtrade/tests/test_configuration.py index df4d3f5ef..98adf19e9 100644 --- a/freqtrade/tests/test_configuration.py +++ b/freqtrade/tests/test_configuration.py @@ -62,7 +62,7 @@ def test_load_config_incorrect_stake_amount(default_conf) -> None: conf['stake_amount'] = 'fake' with pytest.raises(ValidationError, match=r'.*\'fake\' does not match \'unlimited\'.*'): - configuration = Configuration([]) + configuration = Configuration(Namespace()) configuration._validate_config(conf)