Commit 91c013be authored by Vincent Pelletier's avatar Vincent Pelletier

Reuse dedicated method.

parent 59e7aafb
...@@ -518,7 +518,7 @@ class ConnectionTests(NeoUnitTestBase): ...@@ -518,7 +518,7 @@ class ConnectionTests(NeoUnitTestBase):
bc.writable() bc.writable()
# test send was called # test send was called
self._checkSend(1, "testdata") self._checkSend(1, "testdata")
self.assertEqual(''.join(bc.write_buf), "data") self._checkWriteBuf(bc, "data")
self._checkConnectionClosed(0) self._checkConnectionClosed(0)
self._checkUnregistered(0) self._checkUnregistered(0)
# pending, so nothing called # pending, so nothing called
......
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