[Twisted-Python] Getting nice logging outputs in py.test

Chris Withers chris at withers.org
Thu Jul 4 11:50:47 MDT 2019


On 04/07/2019 14:39, Thomas Westfeld wrote:
> Dear all,
> 
> I am having an issue with logging of my Twisted application. I am using the new twisted.logger framework. The output produced by twist or twistd when runnning my plugin is nice.
> 
> However when running a test suite using py.test I only get this as an output to stdout:

How are you running the reactor in your pytest suites? I've not found a 
sane way to do this and so would recommend sticking with trial, crufty 
and old though it feels...

cheers,

Chris




More information about the Twisted-Python mailing list