diff options
author | mathieui <mathieui@mathieui.net> | 2021-02-18 20:24:37 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-02-26 00:08:56 +0100 |
commit | 504067d5a814b943e1b2d1a875f232b226b48105 (patch) | |
tree | 8452dfe1fa5733b5433430cc046872987a49064f /tests | |
parent | 0b3233a6e80ab350319334e90743246553b5e181 (diff) | |
download | slixmpp-504067d5a814b943e1b2d1a875f232b226b48105.tar.gz slixmpp-504067d5a814b943e1b2d1a875f232b226b48105.tar.bz2 slixmpp-504067d5a814b943e1b2d1a875f232b226b48105.tar.xz slixmpp-504067d5a814b943e1b2d1a875f232b226b48105.zip |
XEP-0077: API changes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_stream_xep_0077.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_stream_xep_0077.py b/tests/test_stream_xep_0077.py index c47c4de5..69fc9255 100644 --- a/tests/test_stream_xep_0077.py +++ b/tests/test_stream_xep_0077.py @@ -91,7 +91,9 @@ class TestRegistration(SlixTest): self.send("<iq type='result' id='reg2' from='shakespeare.lit' to='bill@shakespeare.lit/globe'/>") pseudo_iq = self.xmpp.Iq() pseudo_iq["from"] = "bill@shakespeare.lit/globe" - user = self.xmpp["xep_0077"].api["user_get"](None, None, None, pseudo_iq) + fut = self.xmpp.wrap(self.xmpp["xep_0077"].api["user_get"](None, None, None, pseudo_iq)) + self.run_coro(fut) + user = fut.result() self.assertEqual(user["username"], "bill") self.assertEqual(user["password"], "Calliope") self.recv( |