def test_serverDefaultSecurityOptions(self):
        """
        By default, server broker should use C{jelly.globalSecurity} as
        security settings.
        """
        factory = pb.PBServerFactory(Echoer())
        broker = factory.buildProtocol(None)
        self.assertIs(broker.security, jelly.globalSecurity)

        By default, server broker should use C{jelly.globalSecurity} as
        security settings.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/spread/test/test_pb.py