Update tests/pubsub/test_gossipsub.py

Co-Authored-By: Kevin Mai-Husan Chia <mhchia@users.noreply.github.com>
This commit is contained in:
NIC Lin 2019-07-23 16:37:41 +08:00 committed by GitHub
parent 3c3a9ac90b
commit 042e0ac916
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ async def test_join():
# Check that the gossipsub of central node does not have a mesh for the topic
assert topic not in gossipsubs[central_node_index].mesh
# Central node subscribe message origin
# Central node subscribes the topic
await pubsubs[central_node_index].subscribe(topic)
# Check that the gossipsub of central node no longer has fanout for the topic