diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-01-06 19:14:45 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-01-06 19:26:39 +0100 |
commit | d8704d5c7405fec7089b391872954b27cdd9094d (patch) | |
tree | d20545fe892d564dc7537a8bb0ac3393871c9a10 /tests | |
parent | 6efa574483b0498cfb92cddf7365e6207558ed3a (diff) | |
download | weechat-d8704d5c7405fec7089b391872954b27cdd9094d.zip |
core: add variable "opening" in buffer, do not send buffer signals when the buffer is opening
Diffstat (limited to 'tests')
-rw-r--r-- | tests/scripts/python/testapi.py | 4 |
1 files changed, 2 insertions, 2 deletions
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') |