tests: fix tests for test_version

Broken since we changed pdfjs.PDFJSNotFound to have a parameter, which
was not given here.
This commit is contained in:
Daniel Schadt 2016-02-05 15:16:23 +01:00
parent df8f87f8b6
commit d02ec62e33

View File

@ -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):