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.
This commit is contained in:
Lance Stout 2011-03-23 20:23:49 -04:00
parent feb7f892ea
commit d6f2e51b05

View file

@ -578,7 +578,7 @@ class SleekTest(unittest.TestCase):
raise ValueError("Uknown matching method: %s" % method) raise ValueError("Uknown matching method: %s" % method)
def send(self, data, defaults=None, use_values=True, 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. Check that the XMPP client sent the given stanza XML.