core (tests): test fixes
This commit is contained in:
parent
13ed04b83d
commit
0ad78c5072
1 changed files with 15 additions and 9 deletions
|
|
@ -151,7 +151,7 @@ class XEP_0313Test(helpers.SatTestCase):
|
|||
""" % (("H_%d" % domish.Element._idCounter), SERVICE)
|
||||
start = datetime.datetime(2010, 8, 7, 0, 0, 0, tzinfo=tzutc())
|
||||
form = buildForm(start=start)
|
||||
rsm = RSMRequest(max=10)
|
||||
rsm = RSMRequest(max_=10)
|
||||
d = self.plugin.queryArchive(SERVICE_JID, form=form, rsm=rsm, profile_key=C.PROFILE[0])
|
||||
d.addCallback(lambda dummy: self.assertEqualXML(self.host.getSentMessageXml(0), xml, True))
|
||||
return d
|
||||
|
|
@ -173,7 +173,7 @@ class XEP_0313Test(helpers.SatTestCase):
|
|||
""" % (("H_%d" % domish.Element._idCounter), SERVICE)
|
||||
start = datetime.datetime(2010, 8, 7, 0, 0, 0, tzinfo=tzutc())
|
||||
form = buildForm(start=start)
|
||||
rsm = RSMRequest(max=10, after=u'09af3-cc343-b409f')
|
||||
rsm = RSMRequest(max_=10, after=u'09af3-cc343-b409f')
|
||||
d = self.plugin.queryArchive(SERVICE_JID, form=form, rsm=rsm, profile_key=C.PROFILE[0])
|
||||
d.addCallback(lambda dummy: self.assertEqualXML(self.host.getSentMessageXml(0), xml, True))
|
||||
return d
|
||||
|
|
|
|||
Loading…
Reference in a new issue