def setup_network(self):
    'Override this method to customize test network topology'
    self.setup_nodes()
    for i in range((self.num_nodes - 1)):
        connect_nodes(self.nodes[(i + 1)], i)
    self.sync_all()
Override this method to customize test network topology
def setup_network(self):
    
    self.setup_nodes()
    for i in range((self.num_nodes - 1)):
        connect_nodes(self.nodes[(i + 1)], i)
    self.sync_all()