diff options
Diffstat (limited to 'tests/test_stanza_iq.py')
-rw-r--r-- | tests/test_stanza_iq.py | 2 |
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" /> |