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

getsentry / raven-python / 566 / 17
51%
master: 51%

Build:
DEFAULT BRANCH: master
Ran 03 Dec 2013 05:41AM UTC
Files 76
Run time –
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

03 Dec 2013 04:03AM UTC coverage: 65.0% (-0.1%) from 65.118%
DJANGO=Django==1.6

Pull #389

travis-ci

dcramer
New context() API

This makes the API much easier to use, and resembles the raven-ruby implementation. Users can continually merge context (generally within their middleware), and simply need to call context.clear() to refresh it.

The following APIs are added as part of this changeset:

```
context() -- a public, yet likely unused API
>>> Client.context({'project': '1'})

user_context() -- a shortcut to set the user interface
>>> Client.user_context({'email': 'foo@example.com'})

tags_context() -- add additional tags to context (or overwrite an existing tag)
>>> Client.tags_context({'key': 'value'})

extra_context() -- add additional data to context (or overwrite an existing key in the data)
>>> Client.extra_context({'key': 'value'})
```
Pull Request #389: Updates context() API

1885 of 2900 relevant lines covered (65.0%)

0.65 hits per line

Source Files on job 566.17 (DJANGO=Django==1.6)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 566
  • Travis Job 566.17
  • b1f8900d on github
  • Prev Job for DJANGO=Django==1.6 on master (#559.17)
  • Next Job for DJANGO=Django==1.6 on master (#567.17)
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