Re: [Twisted-Python] Avoiding network when testing Perspective Broker

2012-10-26 Thread Glyph
On Oct 26, 2012, at 7:16 AM, Itamar Turner-Trauring wrote: > > > On Thu, Oct 25, 2012 at 6:32 PM, Glyph wrote: > > There are three (count them, three!) classes called "IOPump" in various > Twisted test-support modules. Please note that unlike the stuff in > proto_helpers these are not s

Re: [Twisted-Python] Is it a typo in abstract.py ?

2012-10-26 Thread Itamar Turner-Trauring
Yes. I may even have filed a ticket for this once. The problem is writing a unit test to prove it's necessary :) On Fri, Oct 26, 2012 at 12:40 PM, gelin yan wrote: > Hi All > > I just noticed abstract.py from internet/iocpreactor/ has a possible > typo: > > look at the method* *loseConnectio

[Twisted-Python] Is it a typo in abstract.py ?

2012-10-26 Thread gelin yan
Hi All I just noticed abstract.py from internet/iocpreactor/ has a possible typo: look at the method* *loseConnection * * if self.connected and not self.disconnecting: if self._writeDisconnected: # doWrite won't trigger the connection close anymore

Re: [Twisted-Python] Avoiding network when testing Perspective Broker

2012-10-26 Thread Itamar Turner-Trauring
On Thu, Oct 25, 2012 at 6:32 PM, Glyph wrote: > There are three (count them, three!) classes called "IOPump" in various > Twisted test-support modules. Please note that *unlike the stuff in > proto_helpers these are not supported and will likely go away in a future > version of Twisted*. Howev

Re: [Twisted-Python] Avoiding network when testing Perspective Broker

2012-10-26 Thread Maxim Lacrima
Hi! Your replies are very encouraging. Thank you! > I'm curious, since we rarely get to see the positive impact of > documentation, and only hear about it when it didn't exist - did you > discover this testing style from > http://twistedmatrix.com/documents/current/core/howto/trial.html#auto5 ?