diff options
Diffstat (limited to 'itests')
-rw-r--r-- | itests/test_bob.py | 2 | ||||
-rw-r--r-- | itests/test_last_activity.py | 2 |
2 files changed, 2 insertions, 2 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', ) diff --git a/itests/test_last_activity.py b/itests/test_last_activity.py index 3d36b4b8..ed3173e2 100644 --- a/itests/test_last_activity.py +++ b/itests/test_last_activity.py @@ -18,7 +18,7 @@ class TestLastActivity(SlixIntegration): async def test_activity(self): """Check we can set and get last activity""" - self.clients[0]['xep_0012'].set_last_activity( + await self.clients[0]['xep_0012'].set_last_activity( status='coucou', seconds=4242, ) |