diff --git a/tests/unit/browser/test_adblock.py b/tests/unit/browser/test_adblock.py index 5c33b1141..8c09aa4d8 100644 --- a/tests/unit/browser/test_adblock.py +++ b/tests/unit/browser/test_adblock.py @@ -250,7 +250,8 @@ def test_without_datadir(config_stub, tmpdir, monkeypatch, win_registry): def test_disabled_blocking_update(basedir, config_stub, download_stub, - data_tmpdir, tmpdir, win_registry): + data_tmpdir, tmpdir, win_registry, + message_mock): """Ensure no URL is blocked when host blocking is disabled.""" config_stub.data = { 'content': { @@ -285,7 +286,7 @@ def test_no_blocklist_update(config_stub, download_stub, def test_successful_update(config_stub, basedir, download_stub, - data_tmpdir, tmpdir, win_registry): + data_tmpdir, tmpdir, win_registry, message_mock): """Ensure hosts from host-block-lists are blocked after an update.""" config_stub.data = { 'content': { @@ -305,7 +306,7 @@ def test_successful_update(config_stub, basedir, download_stub, def test_failed_dl_update(config_stub, basedir, download_stub, - data_tmpdir, tmpdir, win_registry): + data_tmpdir, tmpdir, win_registry, message_mock): """One blocklist fails to download. Ensure hosts from this list are not blocked.