From a8748c3b73ac9097fb2f1382b71acf78ff7145a8 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 25 Oct 2015 16:27:57 +0100 Subject: [PATCH] GPG: Fix test crash since 57b77a6725d2e6f2f417419d2a0459982898b877. --- plugins/GPG/test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/GPG/test.py b/plugins/GPG/test.py index a84bdbf58..1c5d37d79 100644 --- a/plugins/GPG/test.py +++ b/plugins/GPG/test.py @@ -107,6 +107,7 @@ class GPGTestCase(PluginTestCase): token = match.group(1) def fakeGetUrlFd(*args, **kwargs): + fd.geturl = lambda :None return fd (utils.web.getUrlFd, realGetUrlFd) = (fakeGetUrlFd, utils.web.getUrlFd)