Fix RSM tests

This commit is contained in:
Lance Stout 2012-09-25 23:22:49 -07:00
parent ef974114ea
commit 90807dd973

View file

@ -17,7 +17,7 @@ class TestStreamSet(SleekTest):
def iter(self, rev=False): def iter(self, rev=False):
q = self.xmpp.Iq() q = self.xmpp.Iq()
q['type'] = 'get' q['type'] = 'get'
it = ResultIterator(q, 'disco_items', '1', reverse=rev) it = ResultIterator(q, 'disco_items', amount='1', reverse=rev)
for i in it: for i in it:
for j in i['disco_items']['items']: for j in i['disco_items']['items']:
self.items.append(j[0]) self.items.append(j[0])