Commits

Lakin Wecker  committed a35fedc

Fixing the output from the signal handler in tests. This has been driving me nuts - and I've finally found a way to turn it off. I'm not 100% certain it's the correct place for the call - so I'm just going to leave it here for now. If other devs think it's appropriate, we can move it to the other branches.

  • Participants
  • Parent commits 44b1f63

Comments (0)

Files changed (1)

File py2/cherrypy/test/helper.py

 
         cherrypy.server.httpserver = self.httpserver_class
 
+        # This is perhaps the wrong place for this call but this is the only
+        # place that i've found so far that I KNOW is early enough to set this.
+        cherrypy.config.update({'log.screen': False})
         engine = cherrypy.engine
         if hasattr(engine, "signal_handler"):
             engine.signal_handler.subscribe()