mirror of
https://github.com/weechat/weechat.git
synced 2026-06-23 03:16:37 +02:00
tests: use correct data type method in hdata tests
This commit is contained in:
committed by
Sébastien Helleu
parent
b433afbd26
commit
169eecb5cf
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user