Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

100% coverage for oauth2client.tools #464

Merged
merged 1 commit into from
Mar 16, 2016

Conversation

theacodes
Copy link
Contributor

Towards #212.

import threading
import unittest2

This comment was marked as spam.

@dhermes
Copy link
Contributor

dhermes commented Mar 16, 2016

Thanks a lot for doing this!

@theacodes
Copy link
Contributor Author

No worries. This module is particularly crufty, so it's important to have these tests before we try to clean it up.

@dhermes
Copy link
Contributor

dhermes commented Mar 16, 2016

👍 👍 👍 Yaaaaas

@theacodes
Copy link
Contributor Author

All comments addressed. Many more tests, but I tried to keep some of the repetition to a minimum.

@@ -1,12 +1,22 @@
"""Unit tests for oauth2client.tools."""
import socket

This comment was marked as spam.

@dhermes
Copy link
Contributor

dhermes commented Mar 16, 2016

LGTM (pending license)

Not sure if @nathanielmanistaatgoogle has a preference for module docstrings for tests. It's irrelevant to me.

@nathanielmanistaatgoogle
Copy link
Contributor

Looks good (pending license header).

@theacodes
Copy link
Contributor Author

License header added. Will merge once travis is green.

theacodes pushed a commit that referenced this pull request Mar 16, 2016
100% coverage for oauth2client.tools
@theacodes theacodes merged commit b68221f into googleapis:master Mar 16, 2016
@theacodes theacodes deleted the test-coverage-tools branch March 16, 2016 16:45
@theacodes theacodes mentioned this pull request Apr 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants