From 0250a96febd35ad57cca268910b313b3c095528e Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 13 Dec 2018 06:26:04 +0100 Subject: [PATCH] Sort imports --- freqtrade/tests/edge/test_edge.py | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/freqtrade/tests/edge/test_edge.py b/freqtrade/tests/edge/test_edge.py index 008413ff1..a855e275b 100644 --- a/freqtrade/tests/edge/test_edge.py +++ b/freqtrade/tests/edge/test_edge.py @@ -1,19 +1,21 @@ # pragma pylint: disable=missing-docstring, C0103, C0330 # pragma pylint: disable=protected-access, too-many-lines, invalid-name, too-many-arguments -import pytest import logging -from freqtrade.tests.conftest import get_patched_freqtradebot -from freqtrade.edge import Edge, PairInfo -from pandas import DataFrame, to_datetime -from freqtrade.strategy.interface import SellType -from freqtrade.tests.optimize import (BTrade, BTContainer, _build_backtest_dataframe, - _get_frame_time_from_offset) +import math +from unittest.mock import MagicMock + import arrow import numpy as np -import math +import pytest +from pandas import DataFrame, to_datetime -from unittest.mock import MagicMock +from freqtrade.edge import Edge, PairInfo +from freqtrade.strategy.interface import SellType +from freqtrade.tests.conftest import get_patched_freqtradebot +from freqtrade.tests.optimize import (BTContainer, BTrade, + _build_backtest_dataframe, + _get_frame_time_from_offset) # Cases to be tested: # 1) Open trade should be removed from the end