Skip to content

Commit

Permalink
Fix pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsdotpm committed Feb 15, 2016
1 parent cc7324f commit 480b0e0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/network/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,11 @@ def test_refresh_neighbours_thread(self):
bob_received = threading.Event()
bob_node.add_message_handler(lambda n, m: bob_received.set())



try:
alice_node.relay_message(bob_node.get_id(), "hi bob")
bob_node.relay_message(alice_node.get_id(), "hi alice")
time.sleep(interval * 2) # wait until network overlay stable, 2 peers
time.sleep(interval * 2)
# wait until network overlay stable, 2 peers

bob_received.wait(timeout=QUERY_TIMEOUT)
alice_received.wait(timeout=QUERY_TIMEOUT)
Expand Down

0 comments on commit 480b0e0

Please sign in to comment.