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

craigcitro / apitools / 225 / 5
92%
master: 89%

Build:
Build:
LAST BUILD BRANCH: dedep
DEFAULT BRANCH: master
Ran 29 Mar 2018 06:18AM UTC
Files 61
Run time 3s
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

29 Mar 2018 06:15AM UTC coverage: 91.94%. First build
TOX_ENV=py27-oauth2client4

push

travis-ci

craigcitro
Ensure client generation works smoothly in py3.

It turns out that generated clients had a few issues in python3:

* the discovery doc was returned as bytes, but `json.loads` wanted a string
* in python3, source files should be strings, not bytes
* \N, \u, and \U have special interpretations in python3 strings, which makes
  them invalid bare sequences in a docstring.

This commit updates these and re-enables tests for python3. The only remaining
py2-only check is the "did we generate the exact same source file" check,
which fails for trivial reasons (eg u'foo' vs. 'foo') for python3.

Since there are no more python27-only tests, I removed the "disable test in
2.7" helper.

1903 of 2394 branches covered (79.49%)

9126 of 9926 relevant lines covered (91.94%)

0.92 hits per line

Source Files on job 225.5 (TOX_ENV=py27-oauth2client4)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1
  • Travis Job 225.5
  • fdf25a68 on github
  • Next Job for TOX_ENV=py27-oauth2client4 on dedep (#227.5)
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

© 2026 Coveralls, Inc