From 195bf5a4ccdbfffb3c997e64332af7177f1ef9da Mon Sep 17 00:00:00 2001 From: hroff-1902 Date: Sun, 16 Jun 2019 21:37:59 +0300 Subject: [PATCH] tests adjusted --- freqtrade/tests/test_utils.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/freqtrade/tests/test_utils.py b/freqtrade/tests/test_utils.py index 7550efb23..a12b709d7 100644 --- a/freqtrade/tests/test_utils.py +++ b/freqtrade/tests/test_utils.py @@ -1,17 +1,18 @@ -from freqtrade.utils import setup_configuration, start_list_exchanges +from freqtrade.utils import setup_utils_configuration, start_list_exchanges from freqtrade.tests.conftest import get_args from freqtrade.state import RunMode import re -def test_setup_configuration(): +def test_setup_utils_configuration(): args = [ '--config', 'config.json.example', ] - config = setup_configuration(get_args(args), RunMode.OTHER) + config = setup_utils_configuration(get_args(args), RunMode.OTHER) assert "exchange" in config + assert config['exchange']['dry_run'] is True assert config['exchange']['key'] == '' assert config['exchange']['secret'] == ''