def test_set_verify_mode(self):
    '\n        `Context.get_verify_mode` returns the verify mode flags previously\n        passed to `Context.set_verify`.\n        '
    context = Context(TLSv1_METHOD)
    assert (context.get_verify_mode() == 0)
    context.set_verify((VERIFY_PEER | VERIFY_CLIENT_ONCE), (lambda *args: None))
    assert (context.get_verify_mode() == (VERIFY_PEER | VERIFY_CLIENT_ONCE))
`Context.get_verify_mode` returns the verify mode flags previously
passed to `Context.set_verify`.
def test_set_verify_mode(self):
    '\n        `Context.get_verify_mode` returns the verify mode flags previously\n        passed to `Context.set_verify`.\n        '
    context = Context(TLSv1_METHOD)
    assert (context.get_verify_mode() == 0)
    context.set_verify((VERIFY_PEER | VERIFY_CLIENT_ONCE), (lambda *args: None))
    assert (context.get_verify_mode() == (VERIFY_PEER | VERIFY_CLIENT_ONCE))