Add test stub

This commit is contained in:
Matthias 2020-01-29 22:47:15 +01:00
parent cebf99b5d8
commit 83baa6ee2e

View File

@ -4,7 +4,8 @@ from unittest.mock import MagicMock
import pytest import pytest
from freqtrade.commands import start_new_config from freqtrade.commands.build_config_commands import (ask_user_config,
start_new_config)
from tests.conftest import get_args, log_has_re from tests.conftest import get_args, log_has_re
@ -40,3 +41,9 @@ def test_start_new_config(mocker, caplog, exchange):
result = json.loads(wt_mock.call_args_list[0][0][0]) result = json.loads(wt_mock.call_args_list[0][0][0])
assert result['exchange']['name'] == exchange assert result['exchange']['name'] == exchange
assert result['ticker_interval'] == '15m' assert result['ticker_interval'] == '15m'
def test_ask_user_config():
# TODO: Implement me
pass
# assert ask_user_config()