def test_plugins(): """Test plugins functions.""" check(weechat.plugin_get_name('') == 'core') check( weechat.plugin_get_name( weechat.buffer_get_pointer(weechat.buffer_search_main(), 'plugin')) == 'core')
def test_plugins(): """Test plugins functions.""" check(weechat.plugin_get_name('') == 'core') check(weechat.plugin_get_name(weechat.buffer_get_pointer(weechat.buffer_search_main(), 'plugin')) == 'core')