Skip to content
Snippets Groups Projects
Unverified Commit c223573b authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Disable portions of the test suite which are not so interesting on Windows

parent 91b82d56
Branches
No related tags found
1 merge request!100Windows CI
......@@ -31,6 +31,10 @@ from datetime import (
timedelta,
)
from unittest import (
skipIf,
)
from testtools import (
TestCase,
)
......@@ -61,6 +65,9 @@ from hypothesis.strategies import (
integers,
)
from twisted.python.runtime import (
platform,
)
from twisted.python.filepath import (
FilePath,
)
......@@ -182,6 +189,7 @@ class VoucherStoreTests(TestCase):
)),
)
@skipIf(platform.isWindows(), "Hard to prevent directory creation on Windows")
@given(tahoe_configs(), datetimes())
def test_uncreateable_store_directory(self, get_config, now):
"""
......@@ -222,6 +230,7 @@ class VoucherStoreTests(TestCase):
)
@skipIf(platform.isWindows(), "Hard to prevent database from being opened on Windows")
@given(tahoe_configs(), datetimes())
def test_unopenable_store(self, get_config, now):
"""
......
......@@ -27,6 +27,11 @@ from time import (
from random import (
shuffle,
)
from unittest import (
skipIf,
)
from testtools import (
TestCase,
)
......@@ -52,6 +57,9 @@ from privacypass import (
random_signing_key,
)
from twisted.python.runtime import (
platform,
)
from twisted.internet.task import (
Clock,
)
......@@ -96,6 +104,7 @@ from ..storage_common import (
summarize,
)
@skipIf(platform.isWindows(), "Storage server is not supported on Windows")
class PassValidationTests(TestCase):
"""
Tests for pass validation performed by ``ZKAPAuthorizerStorageServer``.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment