summaryrefslogtreecommitdiff
path: root/tests/test_stanza_iq.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2014-09-21 18:51:06 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-09-28 23:58:46 +0200
commit7c3e61950d902441dfb86de0cdebbc4ff38033a3 (patch)
treef714fc81382d320875ca7745f1f3d68c4ace78cf /tests/test_stanza_iq.py
parent61f89eef2eac74821fae12e0389e58dc1a05a075 (diff)
downloadslixmpp-7c3e61950d902441dfb86de0cdebbc4ff38033a3.tar.gz
slixmpp-7c3e61950d902441dfb86de0cdebbc4ff38033a3.tar.bz2
slixmpp-7c3e61950d902441dfb86de0cdebbc4ff38033a3.tar.xz
slixmpp-7c3e61950d902441dfb86de0cdebbc4ff38033a3.zip
Remove all deprecated alias in the core of slixmpp, and wherever they were used.
Diffstat (limited to 'tests/test_stanza_iq.py')
-rw-r--r--tests/test_stanza_iq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_stanza_iq.py b/tests/test_stanza_iq.py
index 26dbc295..f6921df8 100644
--- a/tests/test_stanza_iq.py
+++ b/tests/test_stanza_iq.py
@@ -19,7 +19,7 @@ class TestIqStanzas(SlixTest):
def testPayload(self):
"""Test setting Iq stanza payload."""
iq = self.Iq()
- iq.setPayload(ET.Element('{test}tester'))
+ iq.set_payload(ET.Element('{test}tester'))
self.check(iq, """
<iq id="0">
<tester xmlns="test" />