def test_certificateOptionsSessionTickets(self):
        """
        Enabling session tickets should not set the OP_NO_TICKET option.
        """
        opts = sslverify.OpenSSLCertificateOptions(enableSessionTickets=True)
        ctx = opts.getContext()
        self.assertEqual(0, ctx.set_options(0) & 0x00004000)

        Enabling session tickets should not set the OP_NO_TICKET option.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_sslverify.py