diff options
author | mathieui <mathieui@mathieui.net> | 2021-12-13 22:35:53 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-12-13 22:35:53 +0100 |
commit | 4ca1de92b3e4f58ced179fcefa877184bf421232 (patch) | |
tree | 59118f5f0ba7717b7b973abaaed71a3ab86b204d | |
parent | 799a6a07a98d708d0645fad0343177526128974c (diff) | |
download | slixmpp-4ca1de92b3e4f58ced179fcefa877184bf421232.tar.gz slixmpp-4ca1de92b3e4f58ced179fcefa877184bf421232.tar.bz2 slixmpp-4ca1de92b3e4f58ced179fcefa877184bf421232.tar.xz slixmpp-4ca1de92b3e4f58ced179fcefa877184bf421232.zip |
fix: integration tests
prosody got more restrictive?
-rw-r--r-- | itests/test_pep.py | 9 |
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, ) |