diff options
author | mathieui <mathieui@mathieui.net> | 2021-02-14 12:02:13 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-02-26 00:08:56 +0100 |
commit | 9947d3db85e98a44a495f749d96b8632a10bde8d (patch) | |
tree | 34a1526fa6c8a42b1ac13a23df233d7e782a69db /itests | |
parent | ab87b2503042ec9cf226574fa68af1b5b9809cc7 (diff) | |
download | slixmpp-9947d3db85e98a44a495f749d96b8632a10bde8d.tar.gz slixmpp-9947d3db85e98a44a495f749d96b8632a10bde8d.tar.bz2 slixmpp-9947d3db85e98a44a495f749d96b8632a10bde8d.tar.xz slixmpp-9947d3db85e98a44a495f749d96b8632a10bde8d.zip |
XEP-0231: API changes
- ``get_bob`` and ``set_bob`` are now coroutines.
- ``del_bob`` returns a Future.
Diffstat (limited to 'itests')
-rw-r--r-- | itests/test_bob.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/itests/test_bob.py b/itests/test_bob.py index d0827df0..5c95bc89 100644 --- a/itests/test_bob.py +++ b/itests/test_bob.py @@ -20,7 +20,7 @@ class TestBOB(SlixIntegration): async def test_bob(self): """Check we can send and receive a BOB.""" - cid = self.clients[0]['xep_0231'].set_bob( + cid = await self.clients[0]['xep_0231'].set_bob( self.data, 'image/jpeg', ) |