diff options
author | Lance Stout <lancestout@gmail.com> | 2010-12-28 15:37:02 -0500 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2010-12-28 15:43:00 -0500 |
commit | 8749f5e09bcc13c6b40e98025329b23194277803 (patch) | |
tree | 03daf5332eb686bdd4d7a8abe56935e465ed44d0 /tests/test_stream_xep_0030.py | |
parent | b3353183f308b5ec43a6d69e637a3b87b7d7fcb2 (diff) | |
download | slixmpp-8749f5e09bcc13c6b40e98025329b23194277803.tar.gz slixmpp-8749f5e09bcc13c6b40e98025329b23194277803.tar.bz2 slixmpp-8749f5e09bcc13c6b40e98025329b23194277803.tar.xz slixmpp-8749f5e09bcc13c6b40e98025329b23194277803.zip |
Make the new XEP-30 plugin retain older API signatures.
Diffstat (limited to 'tests/test_stream_xep_0030.py')
-rw-r--r-- | tests/test_stream_xep_0030.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_stream_xep_0030.py b/tests/test_stream_xep_0030.py index 1f989745..25a41027 100644 --- a/tests/test_stream_xep_0030.py +++ b/tests/test_stream_xep_0030.py @@ -406,10 +406,10 @@ class TestStreamDisco(SleekTest): self.xmpp['xep_0030'].make_static(jid='tester@localhost', node='testing') - self.xmpp['xep_0030'].add_item(jid='tester@localhost', + self.xmpp['xep_0030'].add_item(ijid='tester@localhost', node='testing', - ijid='tester@localhost', - inode='foo', + jid='tester@localhost', + subnode='foo', name='Test') self.recv(""" @@ -446,10 +446,10 @@ class TestStreamDisco(SleekTest): self.xmpp['xep_0030'].make_static(jid='user@tester.localhost', node='testing') - self.xmpp['xep_0030'].add_item(jid='user@tester.localhost', + self.xmpp['xep_0030'].add_item(ijid='user@tester.localhost', node='testing', - ijid='user@tester.localhost', - inode='foo', + jid='user@tester.localhost', + subnode='foo', name='Test') self.recv(""" |