Quick import/clarity fix

This commit is contained in:
theluxaz 2021-10-27 01:35:47 +03:00
parent e4e75d4861
commit 21ab83163d
2 changed files with 3 additions and 6 deletions

View File

@ -29,10 +29,7 @@ from tests.conftest_trades import (
mock_trade_3,
mock_trade_4,
mock_trade_5,
mock_trade_6,
mock_trade_7,
mock_trade_8,
mock_trade_9)
mock_trade_6)
from tests.conftest_trades_usdt import (mock_trade_usdt_1, mock_trade_usdt_2, mock_trade_usdt_3,
mock_trade_usdt_4, mock_trade_usdt_5, mock_trade_usdt_6)
from tests.conftest_trades_tags import (mock_trade_tags_1, mock_trade_tags_2, mock_trade_tags_3)

View File

@ -885,11 +885,11 @@ def test_buy_tag_performance_handle2(mocker, default_conf, markets, fee):
)
freqtradebot = get_patched_freqtradebot(mocker, default_conf)
create_mock_trades_tags(fee)
#create_mock_trades(fee) #this works
create_mock_trades_tags(fee) #this doesn't
rpc = RPC(freqtradebot)
trades = Trade.query.all()
print(str(trades[0].buy_tag))
res = rpc._rpc_performance()
print(res)