XEP-0231: API changes
- ``get_bob`` and ``set_bob`` are now coroutines. - ``del_bob`` returns a Future.
This commit is contained in:
@@ -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',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user