mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
FIXUP: rename to QubesQrexecFailed instead
This commit is contained in:
parent
eb488b16c5
commit
dabdf6c286
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ class ConversionException(Exception):
|
|||
return subclasses
|
||||
|
||||
|
||||
class QubesConversionStartFailed(ConversionException):
|
||||
class QubesQrexecFailed(ConversionException):
|
||||
error_code = 126 # No ERROR_SHIFT since this is a qrexec error
|
||||
error_message = (
|
||||
"Could not start a disposable qube for the file conversion. "
|
||||
|
|
|
@ -83,6 +83,6 @@ class TestQubes(IsolationProviderTest):
|
|||
|
||||
monkeypatch.setattr(provider, "qrexec_subprocess", qrexec_subprocess)
|
||||
|
||||
with pytest.raises(errors.QubesNotEnoughRAMError) as e:
|
||||
with pytest.raises(errors.QubesQrexecFailed) as e:
|
||||
doc = Document(sample_doc)
|
||||
provider._convert(doc, ocr_lang=None)
|
||||
|
|
Loading…
Reference in a new issue