comparison src/test/helpers.py @ 694:4284b6ad8aa3

tests: plugin text syntaxes sanitisation tests
author Goffi <goffi@goffi.org>
date Tue, 12 Nov 2013 14:16:11 +0100
parents 65b30bc7f1b3
children f1a2831d549d
comparison
equal deleted inserted replaced
693:65b30bc7f1b3 694:4284b6ad8aa3
70 print "--------------------\n\n" 70 print "--------------------\n\n"
71 raise DifferentArgsException 71 raise DifferentArgsException
72 72
73 setattr(self, name, checkCall) 73 setattr(self, name, checkCall)
74 74
75 def addMethod(self, name, int_suffix, in_sign, out_sign, method, async=False):
76 pass
75 77
76 class FakeMemory(object): 78 class FakeMemory(object):
77 """Class to simulate and test memory object""" 79 """Class to simulate and test memory object"""
78 80
79 def getProfileName(self, profile_key): 81 def getProfileName(self, profile_key):
92 pass 94 pass
93 95
94 def delWaitingSub(self, contact_jid, profile_key): 96 def delWaitingSub(self, contact_jid, profile_key):
95 pass 97 pass
96 98
99 def updateParams(self, xml):
100 pass
97 101
98 class FakeTriggerManager(object): 102 class FakeTriggerManager(object):
99 103
100 def add(self, point_name, callback): 104 def add(self, point_name, callback):
101 pass 105 pass