Skip to content

Commit

Permalink
tests adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
hroff-1902 committed Jun 16, 2019
1 parent 813c008 commit 195bf5a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions 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'] == ''

Expand Down

0 comments on commit 195bf5a

Please sign in to comment.