Re: [Twisted-Python] Unit testing AMP responder method registration

2013-12-04 Thread exarkun
On 3 Dec, 01:19 pm, _...@lvh.io wrote: Hi! I'm trying to write code using TDD and AMP. I'm trying to figure out how to write a unit test for: @MyCommand.responder Specifically, I would assume that test: 1. Tests that the responder locator has a responder for MyCommand; 2. That responder mat

Re: [Twisted-Python] Do Viewables absolutely have to be return'ed by Avatars?

2013-12-04 Thread Glyph
On Dec 2, 2013, at 11:45 AM, Daniel Sank wrote: >> One way to fix this is to manually construct a ViewPoint rather than a >> Viewable and pass that to the client. > > For the sake of trying to get my current project to work and so that I > can understand what's really going on and fix the bugs

Re: [Twisted-Python] Unit testing AMP responder method registration

2013-12-04 Thread Laurens Van Houtven
On Wed, Dec 4, 2013 at 9:02 AM, wrote: > https://bazaar.launchpad.net/~game- hackers/game/trunk/view/head:/ > game/test/test_network.py#L418 > Thanks! I'll see how I can incorporate this. It does seem like the obvious test. Right now this is more spread out in my tests: I currently test the loc

[Twisted-Python] Filing Bugs

2013-12-04 Thread Gerrat Rickert
I'd like to file a bug, but the site requires a login. I'm sure I've registered before, but don't remember my username or password. Neither the "login" link or "Register" link has any information about how to reset a password. Nor is it present on the home page, or in the FAQ. ...although the Re

Re: [Twisted-Python] Filing Bugs

2013-12-04 Thread Daniel Sank
> I assume there’s something obvious that I’m missing, but it’s flying below my > visual radar, because I’ve tried looking everywhere on the site. I had exactly this problem last night. I googled "twisted password reset" and found this page http://twistedmatrix.com/trac/reset_password I got it

Re: [Twisted-Python] Filing Bugs

2013-12-04 Thread Gerrat Rickert
> > I assume there's something obvious that I'm missing, but it's flying > below my visual radar, because I've tried looking everywhere on the > site. > > I had exactly this problem last night. I googled "twisted password > reset" and found this page > > http://twistedmatrix.com/trac/reset_passwo

Re: [Twisted-Python] Filing Bugs

2013-12-04 Thread Daniel Sank
> I've filed a website bug about the whole issue (should probably be 3 separate > bugs, but I really don't have the patience): Thanks. I have bunch of functionality and documentation bugs in twisted.spread.pb to report but as things are right now I can't.