[Neo-report] r2729 jm - /trunk/neo/tests/testConnection.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Apr 21 18:12:53 CEST 2011
Author: jm
Date: Thu Apr 21 18:12:53 2011
New Revision: 2729
Log:
Update tests against r2728 (added assertion in Connection.abort)
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] Thu Apr 21 18:12:53 2011
@@ -214,10 +214,6 @@ class ConnectionTests(NeoUnitTestBase):
self.assertEqual(next_id, 0xffffffff)
next_id = bc._getNextId()
self.assertEqual(next_id, 0)
- # test abort
- bc.abort()
- self.assertTrue(bc.aborted)
- self.assertFalse(bc.isServer())
def test_Connection_pending(self):
bc = self._makeConnection()
@@ -803,10 +799,6 @@ class ConnectionTests(NeoUnitTestBase):
self.assertEqual(next_id, 0xffffffff)
next_id = bc._getNextId()
self.assertEqual(next_id, 0)
- # test abort
- bc.abort()
- self.assertTrue(bc.aborted)
- self.assertTrue(bc.isServer())
class MTConnectionTests(ConnectionTests):
# XXX: here we test non-client-connection-related things too, which
More information about the Neo-report
mailing list