Disable "friendly" IDs for tests that expect a full string
This commit is contained in:
parent
a363ba97d1
commit
10e30beb42
|
@ -4,10 +4,14 @@ import base58
|
||||||
import multihash
|
import multihash
|
||||||
|
|
||||||
from libp2p.crypto.rsa import create_new_key_pair
|
from libp2p.crypto.rsa import create_new_key_pair
|
||||||
|
import libp2p.peer.id as PeerID
|
||||||
from libp2p.peer.id import ID
|
from libp2p.peer.id import ID
|
||||||
|
|
||||||
ALPHABETS = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"
|
ALPHABETS = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"
|
||||||
|
|
||||||
|
# ensure we are not in "debug" mode for the following tests
|
||||||
|
PeerID.FRIENDLY_IDS = False
|
||||||
|
|
||||||
|
|
||||||
def test_eq_impl_for_bytes():
|
def test_eq_impl_for_bytes():
|
||||||
random_id_string = ""
|
random_id_string = ""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user