@@ -35,8 +35,8 @@ class TestSubscriptions(unittest.IsolatedAsyncioTestCase):
3535
3636 host = "127.0.0.1"
3737
38- def tearDown (self ):
39- terminate_connections .main ()
38+ # def tearDown(self):
39+ # terminate_connections.main()
4040
4141 async def _close_nodes (self , nodes : list [ChaskiNode ]):
4242 """
@@ -128,7 +128,7 @@ async def test_single_subscription_no_disconnect(self):
128128 AssertionError
129129 Raised if the nodes do not pair correctly according to their subscription topics.
130130 """
131- nodes = await create_nodes (["A" , "B" , "C" , "A" , "B" , "C" ], port = 65440 )
131+ nodes = await create_nodes (["A" , "B" , "C" , "A" , "B" , "C" ])
132132 for node in nodes [1 :]:
133133 await node ._connect_to_peer (nodes [0 ])
134134
@@ -157,9 +157,7 @@ async def test_single_subscription_no_disconnect(self):
157157
158158 async def test_single_subscription_with_disconnect (self ):
159159 """"""
160- nodes = await create_nodes (
161- ["A" , "B" , "C" , ["A" , "C" ], ["B" , "A" ], "C" ], port = 65450
162- )
160+ nodes = await create_nodes (["A" , "B" , "C" , ["A" , "C" ], ["B" , "A" ], "C" ])
163161 for node in nodes [1 :]:
164162 await node ._connect_to_peer (nodes [0 ])
165163
0 commit comments