It seems this is due to starting multiple reactors (one in test_scrapy_spider() and another in StrategyWorker). I think the proper solution here would be to use something like a CrawlerProcess and to not execute reactor.run() inside the main code but instead either let the user run it or to use the wrapper like CrawlerProcess. Then we can share a single reactor among different tests (and then could use pytest-twisted). I'm not sure though.
It seems this is due to starting multiple reactors (one in test_scrapy_spider() and another in StrategyWorker). I think the proper solution here would be to use something like a CrawlerProcess and to not execute reactor.run() inside the main code but instead either let the user run it or to use the wrapper like CrawlerProcess. Then we can share a single reactor among different tests (and then could use pytest-twisted). I'm not sure though.