File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
integrational/native_threads Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1111from pubnub .pubnub import PubNub , SubscribeListener , NonSubscribeListener
1212from tests import helper
1313from tests .helper import pnconf_enc_env_copy , pnconf_env_copy
14- from tests .integrational .vcr_helper import pn_vcr
1514
1615
1716pn .set_stream_logger ('pubnub' , logging .DEBUG )
Original file line number Diff line number Diff line change 1+ import asyncio
12from pubnub .pubnub import PubNub
23from pubnub .pubnub_asyncio import PubNubAsyncio
34from pubnub .pnconfiguration import PNConfiguration
@@ -15,7 +16,7 @@ def setUp(self):
1516 self .config .subscribe_key = "test"
1617 self .config .uuid = "test"
1718 self .pubnub = PubNub (self .config )
18- self .pubnub_asyncio = PubNubAsyncio (self .config )
19+ self .pubnub_asyncio = PubNubAsyncio (self .config , custom_event_loop = asyncio . new_event_loop () )
1920 return super ().setUp ()
2021
2122 def test_get_all_channel_metadata (self ):
You can’t perform that action at this time.
0 commit comments