def test_deferredOnInitialized(self):

        xs = self.factory.buildProtocol(None)
        xs.dispatch(xs, STREAM_AUTHD_EVENT)
        return self.factory.deferred
Test the factory's deferred on stream initialization.
dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_client.py/DeferredClientFactoryTest.test_deferredOnInitialized