summaryrefslogtreecommitdiff
path: root/tests/test_stream_xep_0059.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-09-25 23:22:49 -0700
committerLance Stout <lancestout@gmail.com>2012-09-25 23:22:49 -0700
commit90807dd97392c6b25cdaaeadf5ff816930b24bd1 (patch)
treec1cb1fbd6bcd1fd83df3277d072d6c046ceb015b /tests/test_stream_xep_0059.py
parentef974114ea375729a01553cb18dc30aa9d6531c9 (diff)
downloadslixmpp-90807dd97392c6b25cdaaeadf5ff816930b24bd1.tar.gz
slixmpp-90807dd97392c6b25cdaaeadf5ff816930b24bd1.tar.bz2
slixmpp-90807dd97392c6b25cdaaeadf5ff816930b24bd1.tar.xz
slixmpp-90807dd97392c6b25cdaaeadf5ff816930b24bd1.zip
Fix RSM tests
Diffstat (limited to 'tests/test_stream_xep_0059.py')
-rw-r--r--tests/test_stream_xep_0059.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_stream_xep_0059.py b/tests/test_stream_xep_0059.py
index 3a99842b..249ecf66 100644
--- a/tests/test_stream_xep_0059.py
+++ b/tests/test_stream_xep_0059.py
@@ -17,7 +17,7 @@ class TestStreamSet(SleekTest):
def iter(self, rev=False):
q = self.xmpp.Iq()
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 j in i['disco_items']['items']:
self.items.append(j[0])