Commit b265df3e authored by Julien Muchembled's avatar Julien Muchembled

Update tests against r2728 (added assertion in Connection.abort)

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2729 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent f9b5cea4
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment