Re: Getting nice logging outputs in py.test
Jean-Paul Calderone <[email protected]> Thu, 4 Jul 2019 16:43:02 -0400
| Newsgroups | gmane.comp.python.twisted |
|---|---|
| Message-ID | <CAEeXt4O8Jy+4yrNgQTjwcOLfKVCWhasnvwVaqWv6ER27o72j0g@mail.gmail.com> |
On Thu, Jul 4, 2019 at 1:50 PM Chris Withers <[email protected]> wrote: > 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: > Are you letting pytest eat your stdout? That's the default behavior, isn't it? > > 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... > > What feels crufty and old about trial? And why is "old" a negative? Jean-Paul _______________________________________________ Twisted-Python mailing list [email protected] https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python