From 4b40339b63e0d60a7604b98e6b279840da7948ce Mon Sep 17 00:00:00 2001 From: Stuckinaboot Date: Wed, 8 May 2019 20:19:13 -0400 Subject: [PATCH] Update peerid tests for longer peerids --- tests/peer/test_peerid.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/peer/test_peerid.py b/tests/peer/test_peerid.py index f7c82cb..e481a40 100644 --- a/tests/peer/test_peerid.py +++ b/tests/peer/test_peerid.py @@ -46,9 +46,7 @@ def test_str_more_than_10(): for _ in range(10): random_id_string += random.SystemRandom().choice(ALPHABETS) pid = base58.b58encode(random_id_string).decode() - part_1, part_2 = pid[:2], pid[len(pid)-6:] - - expected = "" + expected = "" actual = ID(random_id_string).__str__() assert actual == expected