From d6f2e51b05b94934680c579804b6af3fe404d852 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Wed, 23 Mar 2011 20:23:49 -0400 Subject: Allow SleekTest to wait longer when checking for sent stanzas. Now timeouts at 0.5sec instead of 0.1sec, which should prevent test failures from stanzas being delayed longer than usual. --- sleekxmpp/test/sleektest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sleekxmpp/test') diff --git a/sleekxmpp/test/sleektest.py b/sleekxmpp/test/sleektest.py index b5c28fde..c5f48895 100644 --- a/sleekxmpp/test/sleektest.py +++ b/sleekxmpp/test/sleektest.py @@ -578,7 +578,7 @@ class SleekTest(unittest.TestCase): raise ValueError("Uknown matching method: %s" % method) def send(self, data, defaults=None, use_values=True, - timeout=.1, method='exact'): + timeout=.5, method='exact'): """ Check that the XMPP client sent the given stanza XML. -- cgit v1.2.3