From 8e5097d9a96cbfee94e1a973cdd47371a06cf928 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 14 Mar 2024 20:34:39 +0100 Subject: [PATCH] Update setup-tools-config for non-dry mode --- tests/commands/test_commands.py | 4 ++++ tests/testdata/testconfigs/test_base_config.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/commands/test_commands.py b/tests/commands/test_commands.py index 72442d5d5..d20d37c0e 100644 --- a/tests/commands/test_commands.py +++ b/tests/commands/test_commands.py @@ -39,6 +39,10 @@ def test_setup_utils_configuration(): assert "exchange" in config assert config['dry_run'] is True + args = [ + 'list-exchanges', '--config', 'tests/testdata/testconfigs/testconfig.json', + ] + config = setup_utils_configuration(get_args(args), RunMode.OTHER, set_dry=False) assert "exchange" in config assert config['dry_run'] is False diff --git a/tests/testdata/testconfigs/test_base_config.json b/tests/testdata/testconfigs/test_base_config.json index d15c5890b..40a114150 100644 --- a/tests/testdata/testconfigs/test_base_config.json +++ b/tests/testdata/testconfigs/test_base_config.json @@ -1,6 +1,6 @@ { "stake_currency": "", - "dry_run": true, + "dry_run": false, "exchange": { "name": "", "key": "",