mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 12:13:57 +00:00
tests: fix test to expected call count
This commit is contained in:
parent
7e2d55743e
commit
584bbd93e0
|
@ -87,9 +87,8 @@ def test_trade_custom_data_strategy_compat(mocker, default_conf_usdt, fee):
|
|||
assert trade_after.get_custom_data("test_str") == "test_value"
|
||||
assert trade_after.get_custom_data("test_int") == 1
|
||||
# 2 trades filled entry, with open exit order
|
||||
# 1 trade with unfilled open entry order
|
||||
# 1 trade with filled entry order
|
||||
assert ff_spy.call_count == 4
|
||||
assert ff_spy.call_count == 3
|
||||
|
||||
assert trade_after.exit_reason == "test_value_1"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user