tavendo/AutobahnPython — pull request #270 by bleair (2014-09-11 22:14:06+00:00)
Title: BugFix - In context of twisted, when running unit tests, will get an error -

Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.

This happens because onOpenHandshakeTimeout has a default of 5 seocnds, and the timer is not canceled even if
we open the websocket. Thne if your test completes within 5 seconds you'll get this error.

This Patch adds succeedHandshake() to WebSocketClientProtocol which then cancels the openHandshakeTimeoutCall.