On Thu, Jan 10, 2013 at 12:27:04AM +0200, Adi Roiban wrote:
> On 9 January 2013 20:02, Glyph wrote:
> > On Jan 9, 2013, at 9:26 AM, Peter Westlake wrote:
> >
> > I am not an expert in Twisted, but from my understanding, the "string"
> > requirement is there to provide a plugable interface. So tha
On Thu, Jan 10, 2013 at 11:00:06AM +0100, Marco Giusti wrote:
[cut]
>
> Can't you use `Portal.login` interfaces paramenter? I think you have two
> different entry points for local and application accounts, so:
>
> # login as local account
> portal.login('john', None, ILocalHomeFolder)
On 10 January 2013 12:00, Marco Giusti wrote:
[snip]
>> My AvatarID Object is just for data.
>>
>> Let me describe one of my usage/requirement:
>>
>> I have a portal with credentialsChecker for both OS accounts and
>> application specific accounts.
>> One can have user "john" both as a local accou
On Thu, Jan 10, 2013 at 12:34:57PM +0200, Adi Roiban wrote:
> On 10 January 2013 12:00, Marco Giusti wrote:
> [snip]
> >> My AvatarID Object is just for data.
> >>
> >> Let me describe one of my usage/requirement:
> >>
> >> I have a portal with credentialsChecker for both OS accounts and
> >> appl
On Wed, Jan 9, 2013, at 18:02, Glyph wrote
> On Jan 9, 2013, at 9:26 AM, Peter Westlake
> wrote:
> > On Jan 9, Adi wrote:
> >> I am not an expert in Twisted, but from my understanding, the "string"
> >> requirement is there to provide a plugable interface. So that you can
> >> have generic credent
On the Monday and Tuesday before PyCon, Jean-Paul Calderone and I will be
teaching a two-day introduction to Twisted in San Francisco. We'll be
covering the basics of the event loop, Deferreds, and other core APIs, with
lots of hands-on exercises. (The 3-hour tutorial I'll be teaching at PyCon
incl
Hey there,
I'm trying to start and stop a twisted server in a unittest:
http://dpaste.org/qwaUt/ .
Calling reactor.stop() in the callback causes a KeyboardInterrupt
exception, and tearDown gets never executed, as it's probably waiting for
the test to finish.
After calling `trial d.py` you need
On 07:58 pm, fabian.rothfu...@googlemail.com wrote:
>Hey there,
>
>
>I'm trying to start and stop a twisted server in a unittest:
>http://dpaste.org/qwaUt/ .
Why? This isn't the typical way to write unit tests for Twisted-based
code. The reactor is started and stopped by trial as necessary. Yo