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

2012-10-25 Thread Glyph
On Oct 25, 2012, at 2:22 PM, exar...@twistedmatrix.com wrote: > On 09:18 am, lacrima.ma...@gmail.com wrote: >> Hi! >> >> I am learning to develop TDD way. I want to create a server that > > Hooray! Yes, hooray! I wish that everyone did this. Sorry that you've encountered trouble; I very muc

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

2012-10-25 Thread exarkun
On 09:18 am, lacrima.ma...@gmail.com wrote: >Hi! > >I am learning to develop TDD way. I want to create a server that Hooray! >understands PB protocol. Initially I thought it would be a good idea to >avoid real network connections in my tests, so I tried to use Yes, that's definitely what you want

Re: [Twisted-Python] Silly txoauth with Twisted Client Question

2012-10-25 Thread Kevin Horn
On Thu, Oct 25, 2012 at 1:44 PM, Glyph wrote: > > On Oct 25, 2012, at 8:11 AM, Kevin Horn wrote: > > Probably this message: > http://twistedmatrix.com/pipermail/twisted-python/2010-July/022500.html > > > Please post inline, not at the top. It seems we've had a plague of this > lately :). > > Al

Re: [Twisted-Python] a possible solution for ticket 5562

2012-10-25 Thread Glyph
On Oct 24, 2012, at 11:03 PM, gelin yan wrote: >Thanks for mentioning that. I never submitted any patch before so probably > I need to take some time to investigate how to do it. No problem. It should be fairly easy. If you have any trouble don't hesitate to ask questions. -glyph

Re: [Twisted-Python] Silly txoauth with Twisted Client Question

2012-10-25 Thread Glyph
On Oct 25, 2012, at 8:11 AM, Kevin Horn wrote: > Probably this message: > http://twistedmatrix.com/pipermail/twisted-python/2010-July/022500.html Please post inline, not at the top. It seems we've had a plague of this lately :). Also, since we're still using a version of pipermail that can'

Re: [Twisted-Python] Silly txoauth with Twisted Client Question

2012-10-25 Thread Kevin Horn
Probably this message: http://twistedmatrix.com/pipermail/twisted-python/2010-July/022500.html Kevin Horn On Wed, Oct 24, 2012 at 3:24 AM, Laurens Van Houtven <_...@lvh.cc> wrote: > txoauth is something I started, then I realized I really hate oauth, then > it was "adopted" by simplegeo who afai

[Twisted-Python] Avoiding network when testing Perspective Broker

2012-10-25 Thread Maxim Lacrima
Hi! I am learning to develop TDD way. I want to create a server that understands PB protocol. Initially I thought it would be a good idea to avoid real network connections in my tests, so I tried to use `proto_helpers.StringTransport`: -- import cStringIO from twisted.spread import pb fro