itests: explicitly send caps in avatar example
This commit is contained in:
parent
7bb94afdc8
commit
41fc6a2e6b
1 changed files with 4 additions and 1 deletions
|
@ -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"""
|
||||||
|
|
Loading…
Reference in a new issue