From 2096793e75b506dad0f4117b4199d2d6d767c7b3 Mon Sep 17 00:00:00 2001 From: Shuai Lin Date: Thu, 19 Feb 2015 16:26:13 +0800 Subject: [PATCH] [tests] relax uploaded file check --- tests/functional/driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/driver.py b/tests/functional/driver.py index 45ae6877..0113bbfe 100644 --- a/tests/functional/driver.py +++ b/tests/functional/driver.py @@ -56,7 +56,7 @@ def ensure_no_channel_reply_from_bot(self, wait=5): raise AssertionError( 'expected to get nothing, but got message "%s"' % msg['text']) - def wait_for_file_uploaded(self, name, maxwait=10): + def wait_for_file_uploaded(self, name, maxwait=20): for _ in xrange(maxwait): time.sleep(1) if self._has_uploaded_file(name):