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

emilyhorsman / nightshades-python / 36
95%

Build:
DEFAULT BRANCH: development
Ran 31 Jan 2016 11:11PM UTC
Jobs 3
Files 12
Run time 23s
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
36

push

travis-ci

emilyhorsman
Add an alternate response for /auth completion

This adds support for opening the /auth endpoint in a browser dialog
window.

If a ?postMessage=true parameter is given on the start of the /auth
flow, and intermediate cookie will be set. This cookie will inform the
completion stage of the flow to return a JS response instead of a JSON
one. This JS response will call postMessage on the opening window to
note that authentication has completed.

A NIGHTSHADES_PUBLIC_ORIGIN environment variable is required to specify
the target origin of the postMessage call (see targetOrigin at
https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage).

11 of 11 new or added lines in 1 file covered. (100.0%)

349 of 359 relevant lines covered (97.21%)

2.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
100.0
nightshades/http/api/v1/authentication.py
Jobs
ID Job ID Ran Files Coverage
1 36.1 (NIGHTSHADES_POSTGRESQL_DB_URI='postgresqlext:///nightshades_test') 31 Jan 2016 11:12PM UTC 0
97.21
Travis Job 36.1
2 36.2 (NIGHTSHADES_POSTGRESQL_DB_URI='postgresqlext:///nightshades_test') 31 Jan 2016 11:12PM UTC 0
97.21
Travis Job 36.2
3 36.3 (NIGHTSHADES_POSTGRESQL_DB_URI='postgresqlext:///nightshades_test') 31 Jan 2016 11:11PM UTC 0
97.21
Travis Job 36.3
Source Files on build 36
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #36
  • 0f87bb0d on github
  • Prev Build on development (#35)
  • Next Build on development (#37)
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