def METHOD_NAME(self):
    network_1 = self.create_network()
    network_1.peers['node_2'] = Peer()
    network_1.peers['node_3'] = Peer(dealer_running=False)
    self.assertEqual(1, network_1.num_of_peers_connected())