Monkeypatch the CFFI Verifier to prevent the implicit compile

![ma9vmor](https://cloud.githubusercontent.com/assets/145979/5050783/00fb220e-6bff-11e4-88f7-1d423dd9388e.gif)

That would definitely better, I guess you can just make a fake cffi thing
in the tests and see that it explodes?

On Fri Nov 14 2014 at 10:11:25 AM Donald Stufft <notifications@github.com>
wrote:

> In src/cryptography/hazmat/bindings/utils.py:
>
> >      return ffi
> >
> >
> > +def _compile_module(*args, **kwargs):
> > +    raise RuntimeError(
> > +        "Attempted implicit compile of a cffi module. All cffi modules should "
> > +        "be pre-compiled at installation time."
> > +    )
>
> I can add a unit test that ensures this function raises a RuntimeError,
> though I'm not sure it's really a useful test. Better would be to figure
> out how to add a test that relies on the implicit compile and make sure it
> explodes.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/pyca/cryptography/pull/1474/files#r20375209>.
>