[Neo-report] r2031 vincent - /trunk/neo/tests/testConnection.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 27 17:11:29 CEST 2010


Author: vincent
Date: Tue Apr 27 17:11:24 2010
New Revision: 2031

Log:
Add a sanity check in Timeout test.

If this check fails, hard and soft checks will produce different results.

Modified:
    trunk/neo/tests/testConnection.py

Modified: trunk/neo/tests/testConnection.py
==============================================================================
--- trunk/neo/tests/testConnection.py [iso-8859-1] (original)
+++ trunk/neo/tests/testConnection.py [iso-8859-1] Tue Apr 27 17:11:24 2010
@@ -965,6 +965,7 @@
         self.current = time()
         self.timeout = Timeout()
         self.timeout.update(self.current)
+        self.assertTrue(PING_DELAY > PING_TIMEOUT) # Sanity check
 
     def _checkAt(self, n, soft, hard):
         at = self.current + n





More information about the Neo-report mailing list