':py:obj:`Context.get_verify_mode` returns the verify mode flags previously
passed to :py:obj:`Context.set_verify`.'

def test_set_verify_mode(self):

    context = Context(TLSv1_METHOD)
    self.assertEquals(context.get_verify_mode(), 0)
    context.set_verify((VERIFY_PEER | VERIFY_CLIENT_ONCE), (lambda *args: None))
    self.assertEquals(context.get_verify_mode(), (VERIFY_PEER | VERIFY_CLIENT_ONCE))
