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:
parent
df8f87f8b6
commit
d02ec62e33
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user