Skip to content
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

[tests] Add test cases for API._put #640

Merged
merged 2 commits into from
Oct 10, 2018

Conversation

brettlangdon
Copy link
Member

#542 helped to fix an issue where we were leaking some HTTPConnections.

This PR adds in two basic test cases to ensure that we are always calling HTTPConnection.close() on API._put.

Also added in checking to ensure we do not raise any Warnings

These tests are to help ensure we no longer are leaking HTTPConnections
Copy link
Member

@Kyle-Verhoog Kyle-Verhoog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good stuff 👍

@brettlangdon brettlangdon changed the title [core] Add test cases for API._put [tests] Add test cases for API._put Oct 10, 2018
@brettlangdon brettlangdon merged commit dc2f8a6 into 0.15-dev Oct 10, 2018
@brettlangdon brettlangdon deleted the brettlangdon/api-put-tests branch October 12, 2018 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants