def test_anonymousVerifyingClient(self):
        """
        Verify that anonymous clients can verify server certificates.
        """
        def secured(result):
            return self.cli.callRemote(SecuredPing)
        return self.cli.callRemote(amp.StartTLS,
                                   tls_verifyAuthorities=[tempcert]
            ).addCallback(secured)

        Verify that anonymous clients can verify server certificates.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_amp.py