Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
silkaj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
silkaj
Commits
863383c8
Commit
863383c8
authored
4 years ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
[enh] #88: membership: Rework fields names
parent
9c14c64f
No related branches found
No related tags found
2 merge requests
!146
Merge dev into master branch to complete v0.8.0 development cycle
,
!141
#336: tx_history: Handle multi-sig signature pubkeys display
Pipeline
#9750
passed
4 years ago
Stage: checks
Stage: tests
Stage: coverage
Stage: deploy
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
silkaj/membership.py
+3
-3
3 additions, 3 deletions
silkaj/membership.py
tests/test_membership.py
+3
-3
3 additions, 3 deletions
tests/test_membership.py
with
6 additions
and
6 deletions
silkaj/membership.py
+
3
−
3
View file @
863383c8
...
...
@@ -135,10 +135,10 @@ async def display_confirmation_table(identity_uid, pubkey, identity_timestamp):
expiration
=
pendulum
.
now
().
add
(
seconds
=
pending_expires
).
diff_for_humans
()
table
.
append
([
"
Pending membership documents will expire
"
,
expiration
])
table
.
append
([
"
Identi
ty uid
"
,
identity_uid
])
table
.
append
([
"
Pub
k
ey
"
,
pubkey
])
table
.
append
([
"
User
Identi
fier (UID)
"
,
identity_uid
])
table
.
append
([
"
Pub
lic K
ey
"
,
pubkey
])
table
.
append
([
"
Identity
block UID
"
,
identity_timestamp
])
table
.
append
([
"
Block
Identity
"
,
identity_timestamp
])
block
=
await
client
(
bma
.
blockchain
.
block
,
identity_timestamp
.
number
)
table
.
append
(
...
...
This diff is collapsed.
Click to expand it.
tests/test_membership.py
+
3
−
3
View file @
863383c8
...
...
@@ -212,10 +212,10 @@ async def test_display_confirmation_table(
expiration
=
pendulum
.
now
().
add
(
seconds
=
pending_expires
).
diff_for_humans
()
table
.
append
([
"
Pending membership documents will expire
"
,
expiration
])
table
.
append
([
"
Identi
ty uid
"
,
identity_uid
])
table
.
append
([
"
Pub
k
ey
"
,
pubkey
])
table
.
append
([
"
User
Identi
fier (UID)
"
,
identity_uid
])
table
.
append
([
"
Pub
lic K
ey
"
,
pubkey
])
table
.
append
([
"
Identity
block UID
"
,
identity_timestamp
])
table
.
append
([
"
Block
Identity
"
,
identity_timestamp
])
block
=
await
client
(
bma
.
blockchain
.
block
,
identity_timestamp
.
number
)
table
.
append
(
...
...
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