Introduce remove_credentials to remove code duplication

This commit is contained in:
Matthias
2019-11-05 12:39:19 +01:00
parent 581907305a
commit eb0b0350e0
7 changed files with 44 additions and 27 deletions

View File

@@ -19,7 +19,7 @@ def test_setup_utils_configuration():
config = setup_utils_configuration(get_args(args), RunMode.OTHER)
assert "exchange" in config
assert config['exchange']['dry_run'] is True
assert config['dry_run'] is True
assert config['exchange']['key'] == ''
assert config['exchange']['secret'] == ''