From 41fc6a2e6b29927148d2af7ed33d1f1645a31bf4 Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 20 Apr 2021 00:06:37 +0200 Subject: itests: explicitly send caps in avatar example --- itests/test_user_avatar.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'itests') diff --git a/itests/test_user_avatar.py b/itests/test_user_avatar.py index 193bbe72..988225bb 100644 --- a/itests/test_user_avatar.py +++ b/itests/test_user_avatar.py @@ -11,9 +11,12 @@ class TestUserAvatar(SlixIntegration): self.envjid('CI_ACCOUNT1'), self.envstr('CI_ACCOUNT1_PASSWORD'), ) - self.register_plugins(['xep_0084']) + self.register_plugins(['xep_0084', 'xep_0115']) self.data = b'coucou coucou' await self.connect_clients() + await asyncio.gather( + self.clients[0]['xep_0115'].update_caps(), + ) async def _clear_avatar(self): """Utility for purging remote state""" -- cgit v1.2.3