I'm using cherrypy.test
class Test_BasicPage(helper.CPWebCase):
....
def test_eventSource(self):
self.getPage("/updateSSE")
self.assertBody() # Here I need a hook that can allow me to trigger the event on the server side
Is there a best practice when it comes to testing event-stream using helper.CPWebCase? Thanks.