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

craigcitro / apitools
83%
master: 89%

Build:
Build:
LAST BUILD BRANCH: dedep
DEFAULT BRANCH: master
Repo Added 12 Dec 2014 06:11PM UTC
Files 59
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

LAST BUILD ON BRANCH service
branch: service
CHANGE BRANCH
x
Reset
  • service
  • adc
  • binary_py3
  • bounds
  • callbacks
  • chunked_download
  • cleanup
  • cleanup_tox
  • dedep
  • doubled
  • encoding
  • encoding_bug
  • fastlint
  • fix
  • fix_coverage
  • flags
  • gce_cleanup
  • gen_client_fix
  • genpip
  • internal_hooks
  • lint
  • master
  • metaclass
  • metadata
  • mimetype
  • more_pip
  • morelogging
  • oauth2client
  • oauth2l
  • protorpc_lite
  • py35
  • register_creds
  • release
  • scopes_arg
  • six_dep
  • storage_cleanup
  • trav
  • urls
  • utilfix
  • v0.4.1
  • v0.4.10
  • v0.4.11
  • v0.4.2
  • v0.4.3
  • v0.4.4
  • v0.4.8
  • v0.4.9
  • v0.5.0
  • v0.5.1
  • v0.5.2
  • v0.5.4

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

Relevant lines Covered
Build:
Build:
9166 RELEVANT LINES 7620 COVERED LINES
0.83 HITS PER LINE
Source Files on service
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
158 service 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 ... push 23 Feb 2016 05:58AM UTC craigcitro travis-ci pending completion  
157 service 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 ... push 22 Feb 2016 05:50AM UTC craigcitro travis-ci pending completion  
See All Builds (201)
  • Repo on GitHub
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