• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

craigcitro / apitools / 157
83%
master: 89%

Build:
Build:
LAST BUILD BRANCH: dedep
DEFAULT BRANCH: master
Ran 22 Feb 2016 05:50AM UTC
Jobs 1
Files 63
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
157

push

travis-ci

craigcitro
Update service_account support for oauth2clientv2.

This makes three changes:

* Make the code for loading either .json or .p12 credentials work under either
  oauth2client 2.0.0post1+ or oauth2client < 2.0.0. In particular, this mostly
  amounts to picking up a few renames from the oauth2client changelog.

* Drop `credentials_lib.ServiceAccount()`. From some searching, no one at all
  is using this function, and supporting it makes the case of .p12 keys
  significantly more awkward.

* Change `credentials_lib.ServiceAccountFromFile()` to handle .json keys, not
  .p12 keys. I'm fairly certain that apitools itself was the only caller of
  this code.

Tested by hand (via oauth2l).

25 of 25 new or added lines in 1 file covered. (100.0%)

7620 of 9164 relevant lines covered (83.15%)

0.83 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
22
100.0
apitools/base/py/credentials_lib.py
Jobs
ID Job ID Ran Files Coverage
2 157.2 (TOX_ENV=py27) 22 Feb 2016 05:50AM UTC 0
83.15
Travis Job 157.2
Source Files on build 157
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #157
  • 9207f352 on github
  • Next Build on service (#158)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc