Skip to content

Commit 0c48880

Browse files
author
Sebastian Molenda
committed
Lint + fix missing loop
1 parent ce3425a commit 0c48880

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/integrational/native_threads/test_subscribe.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from pubnub.pubnub import PubNub, SubscribeListener, NonSubscribeListener
1212
from tests import helper
1313
from tests.helper import pnconf_enc_env_copy, pnconf_env_copy
14-
from tests.integrational.vcr_helper import pn_vcr
1514

1615

1716
pn.set_stream_logger('pubnub', logging.DEBUG)

tests/unit/objects/test_objects.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import asyncio
12
from pubnub.pubnub import PubNub
23
from pubnub.pubnub_asyncio import PubNubAsyncio
34
from 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):

0 commit comments

Comments
 (0)