From 169eecb5cf10ae12c5ead7bf696914aafcd40cc4 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Sun, 24 Sep 2023 20:40:54 +0200 Subject: tests: use correct data type method in hdata tests --- tests/scripts/python/testapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/scripts/python') diff --git a/tests/scripts/python/testapi.py b/tests/scripts/python/testapi.py index 972716a00..213857af8 100644 --- a/tests/scripts/python/testapi.py +++ b/tests/scripts/python/testapi.py @@ -624,7 +624,7 @@ def test_hdata(): # hdata_char check(weechat.hdata_char(hdata_line_data, line1_data, 'displayed') == 1) # hdata_integer - check(weechat.hdata_char(hdata_buffer, buffer2, 'number') == 2) + check(weechat.hdata_integer(hdata_buffer, buffer2, 'number') == 2) # hdata_long weechat.buffer_set(buffer, 'hotlist', weechat.WEECHAT_HOTLIST_MESSAGE) gui_hotlist = weechat.hdata_get_list(hdata_hotlist, 'gui_hotlist') -- cgit v1.2.3