diff --git a/tests/isolation_provider/base.py b/tests/isolation_provider/base.py index 72f3893..a3c4db9 100644 --- a/tests/isolation_provider/base.py +++ b/tests/isolation_provider/base.py @@ -29,7 +29,7 @@ class IsolationProviderTest: p = provider.start_doc_to_pixels_proc(doc) with pytest.raises(errors.ConverterProcException): - provider._convert(doc, tmpdir, None, p) + provider._convert(doc, None, p) assert provider.get_proc_exception(p) == errors.MaxPagesException def test_max_pages_client_enforcement( @@ -46,7 +46,7 @@ class IsolationProviderTest: doc = Document(sample_doc) p = provider.start_doc_to_pixels_proc(doc) with pytest.raises(errors.MaxPagesException): - provider._convert(doc, tmpdir, None, p) + provider._convert(doc, None, p) def test_max_dimensions( self, @@ -60,12 +60,12 @@ class IsolationProviderTest: doc = Document(sample_bad_width) p = provider.start_doc_to_pixels_proc(doc) with pytest.raises(errors.MaxPageWidthException): - provider._convert(doc, tmpdir, None, p) + provider._convert(doc, None, p) doc = Document(sample_bad_height) p = provider.start_doc_to_pixels_proc(doc) with pytest.raises(errors.MaxPageHeightException): - provider._convert(doc, tmpdir, None, p) + provider._convert(doc, None, p) class IsolationProviderTermination: diff --git a/tests/isolation_provider/test_qubes.py b/tests/isolation_provider/test_qubes.py index acd1fbf..e3b0b28 100644 --- a/tests/isolation_provider/test_qubes.py +++ b/tests/isolation_provider/test_qubes.py @@ -79,7 +79,7 @@ class TestQubes(IsolationProviderTest): ) with pytest.raises(errors.ConverterProcException): doc = Document(sample_doc) - provider._convert(doc, tmpdir, None, proc) + provider._convert(doc, None, proc) assert provider.get_proc_exception(proc) == errors.QubesQrexecFailed