diff --git a/tests/rpc/test_rpc.py b/tests/rpc/test_rpc.py index cf5ede99f..1c713ee86 100644 --- a/tests/rpc/test_rpc.py +++ b/tests/rpc/test_rpc.py @@ -239,7 +239,7 @@ def test_rpc_status_table(default_conf, ticker, fee, mocker) -> None: rpc._config['position_adjustment_enable'] = True rpc._config['max_entry_position_adjustment'] = 3 result, headers, fiat_profit_sum = rpc._rpc_status_table(default_conf['stake_currency'], 'USD') - assert "# Buys" in headers + assert "# Entries" in headers assert len(result[0]) == 5 # 4th column should be 1/4 - as 1 order filled (a total of 4 is possible) # 3 on top of the initial one. diff --git a/tests/rpc/test_rpc_telegram.py b/tests/rpc/test_rpc_telegram.py index 6227bc4ad..796147609 100644 --- a/tests/rpc/test_rpc_telegram.py +++ b/tests/rpc/test_rpc_telegram.py @@ -260,8 +260,8 @@ def test_telegram_status_multi_entry(default_conf, update, mocker, fee) -> None: telegram._status(update=update, context=MagicMock()) assert msg_mock.call_count == 4 msg = msg_mock.call_args_list[0][0][0] - assert re.search(r'Number of Buy.*2', msg) - assert re.search(r'Average Buy Price', msg) + assert re.search(r'Number of Entries.*2', msg) + assert re.search(r'Average Entry Price', msg) assert re.search(r'Order filled at', msg) assert re.search(r'Close Date:', msg) is None assert re.search(r'Close Profit:', msg) is None