-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some test fixing #200
some test fixing #200
Conversation
@pytest.mark.asyncio | ||
async def test_publish_mixed_via_post(event_loop): | ||
pubnub = PubNubAsyncio(pnconf_copy(), custom_event_loop=event_loop) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the difference between pnconf_copy
and pnconf_env_copy
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pnconf_env*
uses keyset from environmental variables instead of those hardcoded. I'm slowly cleaning up what was in the repo for a while now
timeout=aiohttp.ClientTimeout(connect=self.config.connect_timeout), | ||
connector=self._connector | ||
) | ||
if not self._session: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it mean you will create a new session from now on if it's not presented before? What's the reason behind it? I mean why you had to change it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some time ago I made this mistake of not having a single session connection, so this is the attempt to fix it
No description provided.