From 31856340ad3faf4ae65904c5b9a83423f76c01ec Mon Sep 17 00:00:00 2001 From: jMyles Date: Thu, 25 Jun 2020 19:29:27 -0700 Subject: [PATCH] This test needs to look for the checksum_address specifically, since this will be a stranger node or sprout now. --- tests/integration/network/test_node_storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/network/test_node_storage.py b/tests/integration/network/test_node_storage.py index 816230128..8475f2bc8 100644 --- a/tests/integration/network/test_node_storage.py +++ b/tests/integration/network/test_node_storage.py @@ -39,7 +39,7 @@ def test_one_node_stores_a_bunch_of_others(federated_ursulas, lonely_ursula_make newcomer.start_learning_loop() start = maya.now() # Loop until the_chosen_seednode is in storage. - while the_chosen_seednode not in newcomer.node_storage.all(federated_only=True): + while the_chosen_seednode.checksum_address not in [u.checksum_address for u in newcomer.node_storage.all(federated_only=True)]: passed = maya.now() - start if passed.seconds > 2: pytest.fail("Didn't find the seed node.")