gajim-plural/test/lib/notify.py
Éric Araujo 9b5ee1e13b convert tabs to spaces in source code thanks to reindent.py
Also use sed to remove now unneeded Vim lines, 2to3 -f ws_comma to fix
some whitespace, and fix some other madness manually.
2010-04-08 01:20:17 +02:00

15 lines
430 B
Python

# mock notify module
notifications = []
def notify(event, jid, account, parameters, advanced_notif_num = None):
notifications.append((event, jid, account, parameters, advanced_notif_num))
def get_advanced_notification(event, account, contact):
return None
def get_show_in_roster(event, account, contact, session = None):
return True
def get_show_in_systray(event, account, contact, type_ = None):
return True