renaming edge to edge_cli for command line version

This commit is contained in:
misagh
2018-11-15 10:31:56 +01:00
parent bb9a1e5f9f
commit f666d1596b
3 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ import json
from typing import List
from freqtrade.edge import Edge
from freqtrade.arguments import Arguments
from freqtrade.optimize.edge import (EdgeCli, setup_configuration, start)
from freqtrade.optimize.edge_cli import (EdgeCli, setup_configuration, start)
from freqtrade.tests.conftest import log_has, patch_exchange
@@ -93,7 +93,7 @@ def test_start(mocker, fee, edge_conf, caplog) -> None:
start_mock = MagicMock()
mocker.patch('freqtrade.exchange.Exchange.get_fee', fee)
patch_exchange(mocker)
mocker.patch('freqtrade.optimize.edge.EdgeCli.start', start_mock)
mocker.patch('freqtrade.optimize.edge_cli.EdgeCli.start', start_mock)
mocker.patch('freqtrade.configuration.open', mocker.mock_open(
read_data=json.dumps(edge_conf)
))