From 7e5e9542e9873a251986bedfe274904e629920d0 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Thu, 1 Sep 2011 13:36:11 -0700 Subject: Add support for notify attribute when retracting an item. --- tests/test_stream_xep_0060.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'tests/test_stream_xep_0060.py') diff --git a/tests/test_stream_xep_0060.py b/tests/test_stream_xep_0060.py index 51a80c10..e0936660 100644 --- a/tests/test_stream_xep_0060.py +++ b/tests/test_stream_xep_0060.py @@ -478,6 +478,24 @@ class TestStreamPubsub(SleekTest): """, use_values=False) + def testRetract(self): + """Test deleting an item.""" + self.xmpp['xep_0060'].retract( + 'pubsub.example.com', + 'somenode', + 'ID1', + notify=True, + block=False) + self.send(""" + + + + + + + + """) + def testRetract(self): """Test deleting an item.""" self.xmpp['xep_0060'].retract( -- cgit v1.2.3