On Tue, Nov 6, 2018, at 8:43 AM, Kyle Altendorf wrote:
> On 2018-11-06 11:28, Chris Withers wrote:
> I guess I'm still not clear on what the point of using a 'fake' reactor
> over a 'real' one is. Not that I'm an expert here...
There are a bunch of advantages! Including:
1. Your tests become mo
On 2018-11-06 11:28, Chris Withers wrote:
On 06/11/2018 12:14, Kyle Altendorf wrote:
On November 6, 2018 6:41:23 AM EST, Chris Withers
wrote:
Cool, do you have any example tests that do this?
Interesting, looks like pytest-twisted does away for the need for
this
by showing how to instal
On 06/11/2018 05:43, Moshe Zadka wrote:
Some of the best advice depends on details of the application. One
trick that is sometimes useful is passing in a "fake" reactor object.
This, of course, is only useful if the application is structured in a
way that functions/classes expect to get a rea
Hi All,
(copying in Moshe as he expressed an interest!)
I've inherited a twisted app for which I'd like to add some changes but
want to improve the automated test coverage before I do.
The app itself listens on a web socket (autobahn), an rpc port (RPyC)
and also connects to a mysql database