In article <5006fc68.8050...@itamarst.org>,
Itamar Turner-Trauring wrote:
> On 07/18/2012 01:01 PM, Russell E. Owen wrote:
> > I have a bit of code that combines twisted with Tkinter
> > and now I'd like to write some unittests for it.
> >
> > I can't seem to figure out how to get TwistedTrial t
On 07/18/2012 01:01 PM, Russell E. Owen wrote:
> I have a bit of code that combines twisted with Tkinter
> and now I'd like to write some unittests for it.
>
> I can't seem to figure out how to get TwistedTrial to handle this case.
> I've written a unit test like this:
>
> from twisted.trial import
On 07/18/2012 06:01 PM, Russell E. Owen wrote:
> root = Tkinter.Tk()
> twisted.internet.tksupport.install(root)
Does the TK support work like other reactors i.e. it must be the very
first thing in the python file, before all other Twisted imports?
___
I have a bit of code that combines twisted with Tkinter
and now I'd like to write some unittests for it.
I can't seem to figure out how to get TwistedTrial to handle this case.
I've written a unit test like this:
from twisted.trial import unittest
from twisted.internet.defer import Deferred
impo