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

getsentry / raven-python / 567 / 12
51%
master: 51%

Build:
DEFAULT BRANCH: master
Ran 03 Dec 2013 06:50AM 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:09AM UTC coverage: 64.862% (-0.1%) from 64.979%
DJANGO=Django==1.5.5

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:

```
Client.context -- the accessible context instance
>>> Client.context.get()

Client.context.clear() -- flush the current context
>>> Client.context.clear()

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

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

Client.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

1881 of 2900 relevant lines covered (64.86%)

0.65 hits per line

Source Files on job 567.12 (DJANGO=Django==1.5.5)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 567
  • Travis Job 567.12
  • 42aacb34 on github
  • Prev Job for DJANGO=Django==1.5.5 on master (#559.12)
  • Next Job for DJANGO=Django==1.5.5 on master (#582.13)
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