mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
clean up tests w/ default protocols in place
This commit is contained in:
@ -11,4 +11,6 @@ def test_default_protocols():
|
||||
|
||||
mux = host.get_mux()
|
||||
handlers = mux.handlers
|
||||
assert handlers == get_default_protocols(host)
|
||||
# NOTE: comparing keys for equality as handlers may be closures that do not compare in the way
|
||||
# this test is concerned with
|
||||
assert handlers.keys() == get_default_protocols(host).keys()
|
||||
|
||||
Reference in New Issue
Block a user