'L{ssl.ClientContextFactory.getContext} returns a context which can use
SSLv3 or TLSv1 but not SSLv2.'

def test_method(self):

    self.assertEqual(self.context._method, SSL.SSLv23_METHOD)
    self.assertEqual((self.context._options & SSL.OP_NO_SSLv2), SSL.OP_NO_SSLv2)
    self.assertFalse((self.context._options & SSL.OP_NO_SSLv3))
    self.assertFalse((self.context._options & SSL.OP_NO_TLSv1))
