summaryrefslogtreecommitdiff
path: root/sleekxmpp/test
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-03-23 20:23:49 -0400
committerLance Stout <lancestout@gmail.com>2011-03-23 20:23:49 -0400
commitd6f2e51b05b94934680c579804b6af3fe404d852 (patch)
treedef95bad9cd944663899a1a8012fd6c00b524cb9 /sleekxmpp/test
parentfeb7f892ea5b1f046dba210db0cdd0cbdaeb1225 (diff)
downloadslixmpp-d6f2e51b05b94934680c579804b6af3fe404d852.tar.gz
slixmpp-d6f2e51b05b94934680c579804b6af3fe404d852.tar.bz2
slixmpp-d6f2e51b05b94934680c579804b6af3fe404d852.tar.xz
slixmpp-d6f2e51b05b94934680c579804b6af3fe404d852.zip
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.
Diffstat (limited to 'sleekxmpp/test')
-rw-r--r--sleekxmpp/test/sleektest.py2
1 files changed, 1 insertions, 1 deletions
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.