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:01 +08:00 committed by GitHub
parent afc853a776
commit 3c3a9ac90b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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