Mercurial > libervia-backend
diff src/test/helpers.py @ 587:952322b1d490
Remove trailing whitespaces.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 18 Jan 2013 17:55:34 +0100 |
parents | ca13633d3b6b |
children | 65821b3fa7ab |
line wrap: on
line diff
--- a/src/test/helpers.py Fri Jan 18 17:55:27 2013 +0100 +++ b/src/test/helpers.py Fri Jan 18 17:55:34 2013 +0100 @@ -22,8 +22,8 @@ import __builtin__ from twisted.words.protocols.jabber.jid import JID -TEST_JID_STR = u"test@example.org/SàT" -TEST_JID = JID(u"test@example.org/SàT") +TEST_JID_STR = u"test@example.org/SàT" +TEST_JID = JID(u"test@example.org/SàT") TEST_PROFILE = 'test_profile' class DifferentArgsException(Exception): @@ -35,7 +35,7 @@ def __init__(self): self.bridge = FakeBridge() self.memory = FakeMemory() - self.trigger = FakeTriggerManager() + self.trigger = FakeTriggerManager() class FakeBridge(object): @@ -50,7 +50,7 @@ print "kwargs\n------\n%s (sent)\n%s (wanted)" % (kwargs, check_kwargs) print "--------------------\n\n" raise DifferentArgsException - + setattr(self, name, checkCall) @@ -62,16 +62,16 @@ def addToHistory(self, from_jid, to_jid, message, _type='chat', timestamp=None, profile=None): pass - + def addContact(self, contact_jid, attributes, groups, profile_key='@DEFAULT@'): pass - + def setPresenceStatus(self, contact_jid, show, priority, statuses, profile_key='@DEFAULT@'): pass - + def addWaitingSub(self, type, contact_jid, profile_key): pass - + def delWaitingSub(self, contact_jid, profile_key): pass @@ -79,7 +79,7 @@ def add(self, point_name, callback): pass - + def point(self, point_name, *args, **kwargs): """We always return true to continue the action""" return True