From 6d58ff069529ac546131f1e8b64328e3b8c0cf52 Mon Sep 17 00:00:00 2001 From: Marco Sirabella Date: Fri, 22 Nov 2019 18:44:07 -0500 Subject: [PATCH] Get the tests passing --- matrix/_weechat.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/matrix/_weechat.py b/matrix/_weechat.py index 3dd422e..bc40812 100644 --- a/matrix/_weechat.py +++ b/matrix/_weechat.py @@ -61,6 +61,7 @@ class MockConfig(object): 'pygments_style': None, 'redactions': None, 'server_buffer': None, + 'new_channel_position': None, }, 'network': { 'debug_buffer': None, @@ -230,6 +231,14 @@ def buffer_get_string(_ptr, property): return "" +def buffer_get_integer(_ptr, property): + return 0 + + +def current_buffer(): + return 1 + + def nicklist_add_group(*_, **__): return