Remove old backend patching

This commit is contained in:
Florian Bruhin 2018-09-06 22:14:35 +02:00
parent 490fe5e1a3
commit 3e25262437

View File

@ -185,11 +185,6 @@ class TestPDFJSHandler:
monkeypatch.setattr(pdfjs, 'get_pdfjs_res', get_pdfjs_res)
@pytest.fixture(autouse=True)
def patch_backend(self, monkeypatch):
monkeypatch.setattr(qutescheme.objects, 'backend',
usertypes.Backend.QtWebKit)
def test_existing_resource(self):
"""Test with a resource that exists."""
_mimetype, data = qutescheme.data_for_url(