def test_handle_member_left(): event = {"type": "member_left_channel", "user": "******"} hooks = limbo.init_plugins("test/plugins") server = limbo.FakeServer(hooks=hooks) assert limbo.handle_event(event, server) == "user 2 left"
def test_handle_member_left(): event = { "type": "member_left_channel", "user": "******" } hooks = limbo.init_plugins("test/plugins") server = limbo.FakeServer(hooks=hooks) assert limbo.handle_event(event, server) == "user 2 left"