From 61d9b5e4ceaa0f5feb7fc364c9089cb624006812 Mon Sep 17 00:00:00 2001 From: Alexander Graul Date: Tue, 12 Jul 2022 14:02:58 +0200 Subject: [PATCH] Fix test_ipc unit tests --- tests/unit/transport/test_ipc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/transport/test_ipc.py b/tests/unit/transport/test_ipc.py index 79b49f9406..7177b7f6c4 100644 --- a/tests/unit/transport/test_ipc.py +++ b/tests/unit/transport/test_ipc.py @@ -107,8 +107,8 @@ class IPCMessagePubSubCase(salt.ext.tornado.testing.AsyncTestCase): self.stop() # Now let both waiting data at once - client1.read_async(handler) - client2.read_async(handler) + client1.read_async() + client2.read_async() self.pub_channel.publish("TEST") self.wait() self.assertEqual(len(call_cnt), 2) @@ -150,7 +150,7 @@ class IPCMessagePubSubCase(salt.ext.tornado.testing.AsyncTestCase): pass try: - ret1 = yield client1.read_async(handler) + ret1 = yield client1.read_async() self.wait() except StreamClosedError as ex: assert False, "StreamClosedError was raised inside the Future" -- 2.36.1