summaryrefslogtreecommitdiff
path: root/itests/test_pep.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-12-13 23:26:04 +0100
committermathieui <mathieui@mathieui.net>2021-12-13 23:26:04 +0100
commit6fb4617732f5e61b611962e42dcd45c37f77358c (patch)
tree98e9f7fcdba22e829c4d68633fd2177c19070af3 /itests/test_pep.py
parent14ae84d6661e7966125e0e6853074818bf83ec05 (diff)
parent0e5a4726af81dcbb8db11eeb5fa1852c9122db24 (diff)
downloadslixmpp-6fb4617732f5e61b611962e42dcd45c37f77358c.tar.gz
slixmpp-6fb4617732f5e61b611962e42dcd45c37f77358c.tar.bz2
slixmpp-6fb4617732f5e61b611962e42dcd45c37f77358c.tar.xz
slixmpp-6fb4617732f5e61b611962e42dcd45c37f77358c.zip
Merge branch 'remove-loop-param' into 'master'
fix: remove loop parameter (3.10) See merge request poezio/slixmpp!174
Diffstat (limited to 'itests/test_pep.py')
-rw-r--r--itests/test_pep.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/itests/test_pep.py b/itests/test_pep.py
index a674a348..382c22b6 100644
--- a/itests/test_pep.py
+++ b/itests/test_pep.py
@@ -34,7 +34,14 @@ class TestPEP(SlixIntegration):
"""Check we can get and set public PEP data"""
stanza = Mystanza()
stanza['test'] = str(uuid4().hex)
- await self.clients[0]['xep_0222'].store(stanza, id='toto')
+ try:
+ await self.clients[0]['xep_0060'].delete_node(
+ self.clients[0].boundjid.bare,
+ node=stanza.namespace,
+ )
+ except:
+ pass
+ await self.clients[0]['xep_0222'].store(stanza, node=stanza.namespace, id='toto')
fetched = await self.clients[0]['xep_0222'].retrieve(
stanza.namespace,
)