Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
ZKAPAuthorizer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Administrator
ZKAPAuthorizer
Commits
c223573b
Unverified
Commit
c223573b
authored
5 years ago
by
Jean-Paul Calderone
Browse files
Options
Downloads
Patches
Plain Diff
Disable portions of the test suite which are not so interesting on Windows
parent
91b82d56
Branches
Branches containing commit
No related tags found
1 merge request
!100
Windows CI
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/_zkapauthorizer/tests/test_model.py
+9
-0
9 additions, 0 deletions
src/_zkapauthorizer/tests/test_model.py
src/_zkapauthorizer/tests/test_storage_server.py
+9
-0
9 additions, 0 deletions
src/_zkapauthorizer/tests/test_storage_server.py
with
18 additions
and
0 deletions
src/_zkapauthorizer/tests/test_model.py
+
9
−
0
View file @
c223573b
...
...
@@ -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
):
"""
...
...
This diff is collapsed.
Click to expand it.
src/_zkapauthorizer/tests/test_storage_server.py
+
9
−
0
View file @
c223573b
...
...
@@ -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``.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment