From 863383c899d03d31676ebc61f261e868bcb37c6b Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Sun, 13 Sep 2020 17:16:09 +0200
Subject: [PATCH] [enh] #88: membership: Rework fields names

---
 silkaj/membership.py     | 6 +++---
 tests/test_membership.py | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/silkaj/membership.py b/silkaj/membership.py
index c28be501..c4fcf34d 100644
--- a/silkaj/membership.py
+++ b/silkaj/membership.py
@@ -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(["Identity uid", identity_uid])
-    table.append(["Pubkey", pubkey])
+    table.append(["User Identifier (UID)", identity_uid])
+    table.append(["Public Key", 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(
diff --git a/tests/test_membership.py b/tests/test_membership.py
index 046d401a..24789b66 100644
--- a/tests/test_membership.py
+++ b/tests/test_membership.py
@@ -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(["Identity uid", identity_uid])
-    table.append(["Pubkey", pubkey])
+    table.append(["User Identifier (UID)", identity_uid])
+    table.append(["Public Key", 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(
-- 
GitLab