From 21ab83163d3a6fd7d7bc16ca7534e187ecbf8c8a Mon Sep 17 00:00:00 2001 From: theluxaz Date: Wed, 27 Oct 2021 01:35:47 +0300 Subject: [PATCH] Quick import/clarity fix --- tests/conftest.py | 5 +---- tests/rpc/test_rpc.py | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 6afda47d5..a2a9f77c6 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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) diff --git a/tests/rpc/test_rpc.py b/tests/rpc/test_rpc.py index 294b5eac8..bce618f30 100644 --- a/tests/rpc/test_rpc.py +++ b/tests/rpc/test_rpc.py @@ -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)