diff options
Diffstat (limited to 'tests/test_stanza_base.py')
-rw-r--r-- | tests/test_stanza_base.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_stanza_base.py b/tests/test_stanza_base.py index deb7ab96..dac3f046 100644 --- a/tests/test_stanza_base.py +++ b/tests/test_stanza_base.py @@ -1,9 +1,9 @@ import unittest -from sleekxmpp.test import SleekTest -from sleekxmpp.xmlstream.stanzabase import ET, StanzaBase +from slixmpp.test import SlixTest +from slixmpp.xmlstream.stanzabase import ET, StanzaBase -class TestStanzaBase(SleekTest): +class TestStanzaBase(SlixTest): def testTo(self): """Test the 'to' interface of StanzaBase.""" @@ -61,7 +61,7 @@ class TestStanzaBase(SleekTest): stanza['from'] = "sender@example.com" stanza['payload'] = ET.Element("{foo}foo") - stanza.reply() + stanza = stanza.reply() self.failUnless(str(stanza['to'] == "sender@example.com"), "Stanza reply did not change 'to' attribute.") |