Commit 41fc6a2e authored by mathieui's avatar mathieui

itests: explicitly send caps in avatar example

parent 7bb94afd
...@@ -11,9 +11,12 @@ class TestUserAvatar(SlixIntegration): ...@@ -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"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment