diff --git a/tests/unit/utils/test_version.py b/tests/unit/utils/test_version.py index 14d819464..6c62fc0f9 100644 --- a/tests/unit/utils/test_version.py +++ b/tests/unit/utils/test_version.py @@ -536,7 +536,7 @@ class TestPDFJSVersion: def test_not_found(self, mocker): mocker.patch('qutebrowser.utils.version.pdfjs.get_pdfjs_res_and_path', - side_effect=pdfjs.PDFJSNotFound) + side_effect=pdfjs.PDFJSNotFound('/build/pdf.js')) assert version._pdfjs_version() == 'no' def test_unknown(self, monkeypatch):