Aha, this is probably why the test is failing! The Mock documentation has [a guide that explains what name to actually use when patching](http://www.voidspace.org.uk/python/mock/patch.html#where-to-patch).

In this case, because the code that calls `verify` is in `django_browserid.auth`, you want to patch `django_browserid.auth.verify`.

There's still test errors after this is fixed though, looking into them now.