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
b87d6947
Commit
b87d6947
authored
5 years ago
by
Jean-Paul Calderone
Browse files
Options
Downloads
Patches
Plain Diff
unblinded tokens, remember?
parent
660f3496
No related branches found
No related tags found
1 merge request
!59
Unblinded token web interface
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/_zkapauthorizer/tests/test_client_resource.py
+5
-5
5 additions, 5 deletions
src/_zkapauthorizer/tests/test_client_resource.py
with
5 additions
and
5 deletions
src/_zkapauthorizer/tests/test_client_resource.py
+
5
−
5
View file @
b87d6947
...
...
@@ -230,21 +230,21 @@ class ResourceTests(TestCase):
)
class
B
lindedTokenTests
(
TestCase
):
class
Unb
lindedTokenTests
(
TestCase
):
"""
Tests relating to ``/blinded-token`` as implemented by the
Tests relating to ``/
un
blinded-token`` as implemented by the
``_zkapauthorizer.resource`` module.
"""
def
setUp
(
self
):
super
(
B
lindedTokenTests
,
self
).
setUp
()
super
(
Unb
lindedTokenTests
,
self
).
setUp
()
self
.
useFixture
(
CaptureTwistedLogs
())
@given
(
tahoe_configs
(),
vouchers
(),
integers
(
min_value
=
0
,
max_value
=
100
))
def
test_get
(
self
,
get_config
,
voucher
,
num_tokens
):
"""
When the blinded token collection receives a **GET**, the response is the
total number of blinded tokens in the system and the blinded tokens
When the
un
blinded token collection receives a **GET**, the response is the
total number of
un
blinded tokens in the system and the
un
blinded tokens
themselves.
"""
tempdir
=
self
.
useFixture
(
TempDir
())
...
...
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