From e01976277bffb7e0b310f49faa40f9847cf5a03d Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sat, 6 Oct 2018 17:25:46 +0200 Subject: [PATCH] Fix is_blocked signature in HostBlockerStub --- tests/helpers/stubs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/helpers/stubs.py b/tests/helpers/stubs.py index 173135d73..7b81b8c64 100644 --- a/tests/helpers/stubs.py +++ b/tests/helpers/stubs.py @@ -475,7 +475,7 @@ class HostBlockerStub: def __init__(self): self.blocked_hosts = set() - def is_blocked(self, url): + def is_blocked(self, url, first_party_url=None): return url in self.blocked_hosts