f3a118a5d381cf57e0680285103aaf5a3465aa85
In particular - Upgraded some unit test modules to `unittest2`. - Got to 100% line coverage in `test_jwt`, `test_clientsecrets`, and `test_service_account` by using `self.assertRaises` instead of `self.fail()` - In some places used `self.assertRaises` as a context manager so the thrown exception can be inspected / compared against. This is done instead of manually catching the exception and holding on to it (`unittest2` backports this feature from `unittest` that was not available in Python 2.6) - Added license to `test_multistore_file` - Removed legacy `python2.4` hashbang from `test_jwt` and `test_service_account` - Added `unittest2` as a test dependency in `tox.ini` - Updated `test_clientsecrets.test_load_by_filename_missing_file` to use the `self.assertRaises` context manager (this was a problem in #349 and #350) - Updated `test_jwt` module docstring to reflect actual purpose
This is a client library for accessing resources protected by OAuth 2.0.
Installation
To install, simply say
$ pip install --upgrade oauth2client
Contributing
Please see the CONTRIBUTING page for more information. In particular, we love pull requests -- but please make sure to sign the contributor license agreement.
Supported Python Versions
We support Python 2.6, 2.7, 3.3+. More information in the docs.
Description
Languages
Python
99.3%
Shell
0.7%