diff --git a/sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py b/sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py
index 570c9c4..fd8ec1f 100644
--- a/sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py
+++ b/sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py
@@ -72,7 +72,7 @@ registerStanzaPlugin(OwnerConfigure, xep_0004.Form)
class OwnerDefault(OwnerConfigure):
namespace = 'http://jabber.org/protocol/pubsub#owner'
- interfaces = set(('node', 'config'))
+ interfaces = set(('node',))
plugin_attrib_map = {}
plugin_tag_map = {}
@@ -93,6 +93,7 @@ registerStanzaPlugin(PubsubOwner, OwnerDelete)
class OwnerPurge(ElementBase, OptionalSetting):
namespace = 'http://jabber.org/protocol/pubsub#owner'
name = 'purge'
+ interfaces = set(('node',))
plugin_attrib = name
plugin_attrib_map = {}
plugin_tag_map = {}
diff --git a/tests/test_stream_xep_0060.py b/tests/test_stream_xep_0060.py
index 2207cd9..c250a86 100644
--- a/tests/test_stream_xep_0060.py
+++ b/tests/test_stream_xep_0060.py
@@ -599,7 +599,25 @@ class TestStreamPubsub(SleekTest):
def testPurge(self):
"""Test removing all items from a node."""
- pass
+ t = threading.Thread(name='purge',
+ target=self.xmpp['xep_0060'].purge,
+ args=('pubsub.example.com', 'somenode'))
+ t.start()
+
+ self.send("""
+
+
+
+
+
+ """, use_values=False)
+
+ self.recv("""
+
+ """)
+
+ t.join()
def testGetItem(self):
"""Test retrieving a single item."""