fix: integration tests
prosody got more restrictive?
This commit is contained in:
parent
799a6a07a9
commit
4ca1de92b3
1 changed files with 8 additions and 1 deletions
|
@ -34,7 +34,14 @@ class TestPEP(SlixIntegration):
|
||||||
"""Check we can get and set public PEP data"""
|
"""Check we can get and set public PEP data"""
|
||||||
stanza = Mystanza()
|
stanza = Mystanza()
|
||||||
stanza['test'] = str(uuid4().hex)
|
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(
|
fetched = await self.clients[0]['xep_0222'].retrieve(
|
||||||
stanza.namespace,
|
stanza.namespace,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue