diff options
-rw-r--r-- | tests/twisted/jingle/google-relay.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/twisted/jingle/google-relay.py b/tests/twisted/jingle/google-relay.py index 419b9712..d93a152d 100644 --- a/tests/twisted/jingle/google-relay.py +++ b/tests/twisted/jingle/google-relay.py @@ -2,6 +2,7 @@ Test getting relay from Google jingleinfo """ +from functools import partial from gabbletest import exec_test, make_result_iq, sync_stream, \ GoogleXmlStream, disconnect_conn from servicetest import make_channel_proxy, \ @@ -367,8 +368,7 @@ def test_too_slow(q, bus, conn, stream, req1, req2, media_chan, too_slow): def exec_relay_test(incoming, too_slow=None): exec_test( - lambda q, b, c, s: - test(q, b, c, s, incoming=incoming, too_slow=too_slow), + partial(test, incoming=incoming, too_slow=too_slow), protocol=GoogleXmlStream) if __name__ == '__main__': |