diff options
Diffstat (limited to 'tests/test_stanza_xep_0009.py')
-rw-r--r-- | tests/test_stanza_xep_0009.py | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/tests/test_stanza_xep_0009.py b/tests/test_stanza_xep_0009.py index fa1ed19b..f1a61b80 100644 --- a/tests/test_stanza_xep_0009.py +++ b/tests/test_stanza_xep_0009.py @@ -1,9 +1,9 @@ # -*- encoding:utf-8 -*- """ - SleekXMPP: The Sleek XMPP Library + Slixmpp: The Slick XMPP Library Copyright (C) 2011 Nathanael C. Fritz, Dann Martens (TOMOTON). - This file is part of SleekXMPP. + This file is part of Slixmpp. See the file LICENSE for copying permission. """ @@ -13,22 +13,18 @@ from __future__ import unicode_literals import base64 import sys -from sleekxmpp.plugins.xep_0009.stanza.RPC import RPCQuery, MethodCall, \ +from slixmpp.plugins.xep_0009.stanza.RPC import RPCQuery, MethodCall, \ MethodResponse -from sleekxmpp.plugins.xep_0009.binding import py2xml, xml2py, rpcbase64, \ +from slixmpp.plugins.xep_0009.binding import py2xml, xml2py, rpcbase64, \ rpctime -from sleekxmpp.stanza.iq import Iq -from sleekxmpp.test.sleektest import SleekTest -from sleekxmpp.xmlstream.stanzabase import register_stanza_plugin -from sleekxmpp.xmlstream.tostring import tostring +from slixmpp.stanza.iq import Iq +from slixmpp.test.slixtest import SlixTest +from slixmpp.xmlstream.stanzabase import register_stanza_plugin +from slixmpp.xmlstream.tostring import tostring import unittest -if sys.version_info > (3, 0): - unicode = str - - -class TestJabberRPC(SleekTest): +class TestJabberRPC(SlixTest): def setUp(self): register_stanza_plugin(Iq, RPCQuery) |