We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c48880 commit e062dc5Copy full SHA for e062dc5
1 file changed
tests/unit/objects/test_objects.py
@@ -11,12 +11,14 @@ class TestObjectsIsMatchingEtag(TestCase):
11
pubnub_asyncio: PubNubAsyncio = None
12
13
def setUp(self):
14
+ loop = asyncio.new_event_loop()
15
+ asyncio.set_event_loop(loop)
16
self.config = PNConfiguration()
17
self.config.publish_key = "test"
18
self.config.subscribe_key = "test"
19
self.config.uuid = "test"
20
self.pubnub = PubNub(self.config)
- self.pubnub_asyncio = PubNubAsyncio(self.config, custom_event_loop=asyncio.new_event_loop())
21
+ self.pubnub_asyncio = PubNubAsyncio(self.config)
22
return super().setUp()
23
24
def test_get_all_channel_metadata(self):
0 commit comments