def test_use_certificate_chain_file_missing_file(self, tmpfile):
    '\n        `Context.use_certificate_chain_file` raises `OpenSSL.SSL.Error` when\n        passed a bad chain file name (for example, the name of a file which\n        does not exist).\n        '
    context = Context(TLSv1_METHOD)
    with pytest.raises(Error):
        context.use_certificate_chain_file(tmpfile)
`Context.use_certificate_chain_file` raises `OpenSSL.SSL.Error` when
passed a bad chain file name (for example, the name of a file which
does not exist).
def test_use_certificate_chain_file_missing_file(self, tmpfile):
    '\n        `Context.use_certificate_chain_file` raises `OpenSSL.SSL.Error` when\n        passed a bad chain file name (for example, the name of a file which\n        does not exist).\n        '
    context = Context(TLSv1_METHOD)
    with pytest.raises(Error):
        context.use_certificate_chain_file(tmpfile)