dangerzone/tests/isolation_provider/test_qubes.py
deeplow 54b8ffbf96
Add page limit of 10000
Theoretically the max pages would be 65536 (2byte unsigned int.
However this limit is much higher than practical documents have
and larger ones can lead to unforseen problems, for example RAM
limitations.

We thus opted to use a lower limit of 10K. The limit must be
detected client-side, given that the server is distrusted. However
we also check it in the server, just as a fail-early mechanism.
2023-09-28 11:01:14 +01:00

16 lines
357 B
Python

import pytest
from dangerzone.isolation_provider.qubes import Qubes
# XXX Fixtures used in abstract Test class need to be imported regardless
from .. import pdf_11k_pages, sanitized_text, uncommon_text
from .base import IsolationProviderTest
@pytest.fixture
def provider() -> Qubes:
return Qubes()
class TestQubes(IsolationProviderTest):
pass