From ff8d5370a33b744420a27fc5263220530e747e7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20Jul=C3=A9?= Date: Tue, 8 Dec 2015 10:37:04 +0100 Subject: [PATCH] Add ideas for improvement --- tests/unit/browser/test_adblock.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit/browser/test_adblock.py b/tests/unit/browser/test_adblock.py index 5336b4ee0..a670756cd 100644 --- a/tests/unit/browser/test_adblock.py +++ b/tests/unit/browser/test_adblock.py @@ -1,3 +1,4 @@ +# TODO See utils/test_standarddirutils for OSEError and caplog assertion # vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: #!/usr/bin/env python3 @@ -65,6 +66,7 @@ def data_tmpdir(monkeypatch, tmpdir): # XXX Why does read_hosts needs basedir to be None # in order to print message 'run adblock-update to read host blocklist' ? # browser/adblock.py line 138 +# TODO Replace with unittest mock.mock / See test webelem class BaseDirStub: """Mock for objreg.get('args') called in adblock.HostBlocker.read_hosts."""