diff options
author | mathieui <mathieui@mathieui.net> | 2021-04-20 00:06:37 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-04-20 18:57:50 +0200 |
commit | 41fc6a2e6b29927148d2af7ed33d1f1645a31bf4 (patch) | |
tree | 2d05f85c1a75b2c3ae5634b5c6d1181ca4f7f089 /itests | |
parent | 7bb94afdc856a4f534fe1657620e2646d8da5238 (diff) | |
download | slixmpp-41fc6a2e6b29927148d2af7ed33d1f1645a31bf4.tar.gz slixmpp-41fc6a2e6b29927148d2af7ed33d1f1645a31bf4.tar.bz2 slixmpp-41fc6a2e6b29927148d2af7ed33d1f1645a31bf4.tar.xz slixmpp-41fc6a2e6b29927148d2af7ed33d1f1645a31bf4.zip |
itests: explicitly send caps in avatar example
Diffstat (limited to 'itests')
-rw-r--r-- | itests/test_user_avatar.py | 5 |
1 files changed, 4 insertions, 1 deletions
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""" |