itests: explicitly send caps in avatar example

This commit is contained in:
mathieui 2021-04-20 00:06:37 +02:00
parent 7bb94afdc8
commit 41fc6a2e6b

View file

@ -11,9 +11,12 @@ class TestUserAvatar(SlixIntegration):
self.envjid('CI_ACCOUNT1'), self.envjid('CI_ACCOUNT1'),
self.envstr('CI_ACCOUNT1_PASSWORD'), self.envstr('CI_ACCOUNT1_PASSWORD'),
) )
self.register_plugins(['xep_0084']) self.register_plugins(['xep_0084', 'xep_0115'])
self.data = b'coucou coucou' self.data = b'coucou coucou'
await self.connect_clients() await self.connect_clients()
await asyncio.gather(
self.clients[0]['xep_0115'].update_caps(),
)
async def _clear_avatar(self): async def _clear_avatar(self):
"""Utility for purging remote state""" """Utility for purging remote state"""