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

google / oauth2client / 777 / 2
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 01 Dec 2015 02:05AM UTC
Files 41
Run time 1s
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

30 Nov 2015 11:55PM UTC coverage: 93.713% (-0.08%) from 93.788%
TOX_ENV=py27

Pull #347

travis-ci

jonparrott
[DO NOT MERGE] Re-write Storage

This is a rough-cut to sanity check the concept. Docstrings and full tests still missing.

New:
* `client.Storage` is an abstract base class.
* `locked_storage.LockedStorage` provides locking based on context managers and defaults to `threading.Lock`.

Changed:
* All `Storage` subclasses have been updated to use the new base class.
* `file.Storage` renamed to `file_storage.FileStorage`.
* `keyring_storage.Storage` renamed to `keyring_storage.KeyringStorage`.
* `django_orm.Storage` renamed to `django_orm.DjangoOrmStorage`.
* `KeyringStorage` and `FileStorage` are no longer threadsafe by default.

**Questionable changes**

As mentioned in [a comment on #344], `Credentials` has the unfortunate behavior of using the Storage's lock to prevent concurrently refreshing the credentials. IMO, Refresh locking should be handled as a separate concern. For now, `Storage` implements a no-op `lock()`.
Pull Request #347: [DO NOT MERGE] Re-write Storage

5187 of 5535 relevant lines covered (93.71%)

0.94 hits per line

Source Files on job 777.2 (TOX_ENV=py27)
  • Tree
  • List 0
  • Changed 11
  • Source Changed 11
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 777
  • Travis Job 777.2
  • abb66df0 on github
  • Prev Job for TOX_ENV=py27 on master (#766.2)
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