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

craigcitro / apitools / 158
83%
master: 89%

Build:
Build:
LAST BUILD BRANCH: dedep
DEFAULT BRANCH: master
Ran 23 Feb 2016 05:58AM 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
158

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).

28 of 28 new or added lines in 2 files covered. (100.0%)

7620 of 9166 relevant lines covered (83.13%)

0.83 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
apitools/gen/util.py
24
100.0
apitools/base/py/credentials_lib.py

Uncovered Existing Lines

Lines Coverage ∆ File
93
100.0
apitools/base/py/credentials_lib.py
Jobs
ID Job ID Ran Files Coverage
2 158.2 (TOX_ENV=py27) 23 Feb 2016 05:58AM UTC 0
83.13
Travis Job 158.2
Source Files on build 158
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #158
  • abbfcb17 on github
  • Prev Build on service (#157)
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