'When underlying SSL problems occur, an SSLError is raised.'

def test_certificate_failure(self, httpbin_secure):

    with pytest.raises(SSLError):
        requests.get(httpbin_secure('status', '200'))
