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

idlesign / django-sitetree / 73 / 6
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 03 Aug 2015 08:46PM UTC
Files 15
Run time 0s
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 Aug 2015 08:43PM UTC coverage: 85.082% (-0.1%) from 85.217%
DJANGO="Django>=1.6,<1.7"

Pull #167

travis-ci

7wonders
check_access can throw KeyError under certain circumstances

For example on heroku together with newrelic this error will be thrown EVERY time any other server error is thrown. Very frustrating. Simple try/except fixes it.

```
File “/app/.heroku/python/lib/python2.7/site-packages/sitetree/sitetreeapp.py”, line 722, in check_access
    authenticated = self._global_context[‘request’].user.is_authenticated()
  File “/app/.heroku/python/lib/python2.7/site-packages/django/template/context.py”, line 71, in __getitem__
    raise KeyError(key)
KeyError: u’request’
```
Pull Request #167: check_access can throw KeyError under certain circumstances

981 of 1153 relevant lines covered (85.08%)

0.85 hits per line

Source Files on job 73.6 (DJANGO="Django>=1.6,<1.7")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 73
  • Travis Job 73.6
  • 634cac7b on github
  • Prev Job for DJANGO="Django>=1.6,<1.7" on master (#72.9)
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