From 90807dd97392c6b25cdaaeadf5ff816930b24bd1 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Tue, 25 Sep 2012 23:22:49 -0700 Subject: Fix RSM tests --- tests/test_stream_xep_0059.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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]) -- cgit v1.2.3