mirror of
https://github.com/logos-storage/nim-libp2p.git
synced 2026-01-05 23:23:12 +00:00
test: re-enable identify
This commit is contained in:
parent
b270515bb3
commit
e57e10703b
@ -65,7 +65,7 @@ suite "Identify":
|
|||||||
|
|
||||||
check:
|
check:
|
||||||
waitFor(testHandle()) == true
|
waitFor(testHandle()) == true
|
||||||
|
|
||||||
test "handle failed identify":
|
test "handle failed identify":
|
||||||
proc testHandleError() {.async.} =
|
proc testHandleError() {.async.} =
|
||||||
let ma: MultiAddress = Multiaddress.init("/ip4/127.0.0.1/tcp/53361")
|
let ma: MultiAddress = Multiaddress.init("/ip4/127.0.0.1/tcp/53361")
|
||||||
@ -106,4 +106,3 @@ suite "Identify":
|
|||||||
|
|
||||||
expect IdentityNoMatchError:
|
expect IdentityNoMatchError:
|
||||||
waitFor(testHandleError())
|
waitFor(testHandleError())
|
||||||
|
|
||||||
@ -3,5 +3,4 @@ import testvarint, testbase32, testbase58, testbase64
|
|||||||
import testrsa, testecnist, tested25519, testsecp256k1, testcrypto
|
import testrsa, testecnist, tested25519, testsecp256k1, testcrypto
|
||||||
import testmultibase, testmultihash, testmultiaddress, testcid, testpeer
|
import testmultibase, testmultihash, testmultiaddress, testcid, testpeer
|
||||||
import testtransport, testmultistream, testbufferstream,
|
import testtransport, testmultistream, testbufferstream,
|
||||||
testmplex, testswitch
|
testmplex, testidentify, testswitch
|
||||||
# import testidentify
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user