Remove unused test parameter
This commit is contained in:
parent
2395988bf8
commit
3c4eda14b1
@ -261,7 +261,8 @@ class Telegram(RPCHandler):
|
||||
msg['enter_tag'] = msg['enter_tag'] if "enter_tag" in msg.keys() else None
|
||||
msg['emoji'] = self._get_sell_emoji(msg)
|
||||
msg['leverage_text'] = (f"*Leverage:* `{msg['leverage']:.1f}`\n"
|
||||
if msg.get('leverage', None) and msg.get('leverage', 1.0) != 1.0 else "")
|
||||
if msg.get('leverage', None) and msg.get('leverage', 1.0) != 1.0
|
||||
else "")
|
||||
|
||||
# Check if all sell properties are available.
|
||||
# This might not be the case if the message origin is triggered by /forcesell
|
||||
|
@ -1707,11 +1707,10 @@ def test_send_msg_buy_notification(default_conf, mocker, caplog, message_type,
|
||||
msg_mock.call_args_list[0][1]['disable_notification'] is True
|
||||
|
||||
|
||||
@pytest.mark.parametrize('message_type,enter,enter_signal', [
|
||||
(RPCMessageType.BUY_CANCEL, 'Long', 'long_signal_01'),
|
||||
(RPCMessageType.SHORT_CANCEL, 'Short', 'short_signal_01')])
|
||||
def test_send_msg_buy_cancel_notification(default_conf, mocker, message_type,
|
||||
enter, enter_signal) -> None:
|
||||
@pytest.mark.parametrize('message_type,enter_signal', [
|
||||
(RPCMessageType.BUY_CANCEL, 'long_signal_01'),
|
||||
(RPCMessageType.SHORT_CANCEL, 'short_signal_01')])
|
||||
def test_send_msg_buy_cancel_notification(default_conf, mocker, message_type, enter_signal) -> None:
|
||||
|
||||
telegram, _, msg_mock = get_telegram_testobject(mocker, default_conf)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user