Disable "friendly" IDs for tests that expect a full string

This commit is contained in:
Alex Stokes 2019-08-24 22:57:22 +02:00
parent a363ba97d1
commit 10e30beb42
No known key found for this signature in database
GPG Key ID: 51CE1721B245C086

View File

@ -4,10 +4,14 @@ import base58
import multihash
from libp2p.crypto.rsa import create_new_key_pair
import libp2p.peer.id as PeerID
from libp2p.peer.id import ID
ALPHABETS = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"
# ensure we are not in "debug" mode for the following tests
PeerID.FRIENDLY_IDS = False
def test_eq_impl_for_bytes():
random_id_string = ""