From 4ca1de92b3e4f58ced179fcefa877184bf421232 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 13 Dec 2021 22:35:53 +0100 Subject: fix: integration tests prosody got more restrictive? --- itests/test_pep.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'itests') 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, ) -- cgit v1.2.3