From d8704d5c7405fec7089b391872954b27cdd9094d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 6 Jan 2024 19:14:45 +0100 Subject: core: add variable "opening" in buffer, do not send buffer signals when the buffer is opening --- tests/scripts/python/testapi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/scripts/python/testapi.py b/tests/scripts/python/testapi.py index cd63a69b0..22602cc1c 100644 --- a/tests/scripts/python/testapi.py +++ b/tests/scripts/python/testapi.py @@ -584,8 +584,8 @@ def test_hdata(): line2 = weechat.hdata_pointer(hdata_line, line1, 'next_line') line3 = weechat.hdata_pointer(hdata_line, line2, 'next_line') # hdata_get_var_offset - check(weechat.hdata_get_var_offset(hdata_buffer, 'plugin') == 0) - check(weechat.hdata_get_var_offset(hdata_buffer, 'number') > 0) + check(weechat.hdata_get_var_offset(hdata_buffer, 'opening') == 0) + check(weechat.hdata_get_var_offset(hdata_buffer, 'plugin') > 0) # hdata_get_var_type_string check(weechat.hdata_get_var_type_string(hdata_buffer, 'plugin') == 'pointer') check(weechat.hdata_get_var_type_string(hdata_buffer, 'number') == 'integer') -- cgit v1.2.3