mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Disable isolation_provider tests on dummy conversion
Windows and macOS in CI (which don't support nested virtualization) and thus Docker aren't really candidates for isolation_provider tests.
This commit is contained in:
parent
0a6b33ebed
commit
23bee23d81
1 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
import os
|
||||
|
||||
import pytest
|
||||
from colorama import Style
|
||||
from pytest_mock import MockerFixture
|
||||
|
@ -5,10 +7,15 @@ from pytest_mock import MockerFixture
|
|||
from dangerzone.conversion import errors
|
||||
from dangerzone.document import Document
|
||||
from dangerzone.isolation_provider import base
|
||||
from dangerzone.isolation_provider.qubes import running_on_qubes
|
||||
|
||||
from .. import pdf_11k_pages, sanitized_text, uncommon_text
|
||||
|
||||
|
||||
@pytest.mark.skipif(
|
||||
os.environ.get("DUMMY_CONVERSION", False), reason="dummy conversions not supported"
|
||||
)
|
||||
@pytest.mark.skipif(not running_on_qubes(), reason="Not on a Qubes system")
|
||||
class IsolationProviderTest:
|
||||
def test_print_progress(
|
||||
self,
|
||||
|
|
Loading…
Reference in a new issue