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

craigcitro / apitools
92%
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 dedep
branch: dedep
CHANGE BRANCH
x
Reset
  • dedep
  • adc
  • binary_py3
  • bounds
  • callbacks
  • chunked_download
  • cleanup
  • cleanup_tox
  • 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
  • service
  • 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
228

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.

1861 of 2350 branches covered (79.19%)

16 of 16 new or added lines in 3 files covered. (100.0%)

8792 of 9590 relevant lines covered (91.68%)

0.92 hits per line

Relevant lines Covered
Build:
Build:
9590 RELEVANT LINES 8792 COVERED LINES
0.92 HITS PER LINE
Source Files on dedep
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
228 dedep 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 ... push 29 Mar 2018 03:58PM UTC craigcitro travis-ci pending completion  
227 dedep 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 ... push 29 Mar 2018 03:53PM UTC craigcitro travis-ci pending completion  
225 dedep 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 ... push 29 Mar 2018 06:18AM 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