summaryrefslogtreecommitdiff
path: root/itests
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-02-27 13:16:18 +0100
committermathieui <mathieui@mathieui.net>2021-02-27 13:16:18 +0100
commit059cb290d8ae567ef189d83c45a1e38b1f3ab9dc (patch)
treeb8a85ab9a91bf7663701a077607a67a07fcc485a /itests
parent5f9ab45a5e161c3035a844184736b3180dae6047 (diff)
parent3cdec464a550b775d8c251f37b863a6e2212c5d5 (diff)
downloadslixmpp-059cb290d8ae567ef189d83c45a1e38b1f3ab9dc.tar.gz
slixmpp-059cb290d8ae567ef189d83c45a1e38b1f3ab9dc.tar.bz2
slixmpp-059cb290d8ae567ef189d83c45a1e38b1f3ab9dc.tar.xz
slixmpp-059cb290d8ae567ef189d83c45a1e38b1f3ab9dc.zip
Merge branch 'async-interal-api-break-everything' into 'master'
Make the internal "api" async See merge request poezio/slixmpp!128
Diffstat (limited to 'itests')
-rw-r--r--itests/test_bob.py2
-rw-r--r--itests/test_last_activity.py2
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,
)