From 7cd1cf32ae698965ed488ade17f63afd7d5afedf Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 20 Sep 2016 15:58:29 +0900 Subject: Various XEPs: Remove deprecated aliases. --- tests/test_stream_xep_0030.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/test_stream_xep_0030.py') diff --git a/tests/test_stream_xep_0030.py b/tests/test_stream_xep_0030.py index de0bd414..1d6337d5 100644 --- a/tests/test_stream_xep_0030.py +++ b/tests/test_stream_xep_0030.py @@ -205,8 +205,8 @@ class TestStreamDisco(SlixTest): handler=dynamic_jid) - self.xmpp['xep_0030'].make_static(jid='tester@localhost', - node='testing') + self.xmpp['xep_0030'].restore_defaults(jid='tester@localhost', + node='testing') self.xmpp['xep_0030'].add_identity(jid='tester@localhost', node='testing', @@ -245,8 +245,8 @@ class TestStreamDisco(SlixTest): self.xmpp['xep_0030'].set_node_handler('get_info', handler=dynamic_global) - self.xmpp['xep_0030'].make_static(jid='user@tester.localhost', - node='testing') + self.xmpp['xep_0030'].restore_defaults(jid='user@tester.localhost', + node='testing') self.xmpp['xep_0030'].add_feature(jid='user@tester.localhost', node='testing', @@ -396,8 +396,8 @@ class TestStreamDisco(SlixTest): handler=dynamic_jid) - self.xmpp['xep_0030'].make_static(jid='tester@localhost', - node='testing') + self.xmpp['xep_0030'].restore_defaults(jid='tester@localhost', + node='testing') self.xmpp['xep_0030'].add_item(ijid='tester@localhost', node='testing', @@ -436,8 +436,8 @@ class TestStreamDisco(SlixTest): self.xmpp['xep_0030'].set_node_handler('get_items', handler=dynamic_global) - self.xmpp['xep_0030'].make_static(jid='user@tester.localhost', - node='testing') + self.xmpp['xep_0030'].restore_defaults(jid='user@tester.localhost', + node='testing') self.xmpp['xep_0030'].add_item(ijid='user@tester.localhost', node='testing', -- cgit v1.2.3