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

georgeyk / loafer / 48 / 1
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 21 Apr 2016 10:46PM UTC
Files 15
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

21 Apr 2016 10:39PM UTC coverage: 97.8% (+0.08%) from 97.716%
LOAFER_DEFAULT_ROUTE_SOURCE=test-source

push

travis-ci

georgeyk
Add add_current_dir_to_syspath decorator and decorate import_callable utility

This is an enhancement because client code does not need to be installed
or set PYTHONPATH, otherwise a ImportError might be raised if a callable
are set to ROUTE_DEFAULT_HANDLER or similar (eg, any configuration that uses
import_callable).

We try to add the current directory assuming the client code will
start Loafer at the project root.
There's nothing we can do if they don't, we also should pay attention
to some side effects of this code.

400 of 409 relevant lines covered (97.8%)

0.98 hits per line

Source Files on job 48.1 (LOAFER_DEFAULT_ROUTE_SOURCE=test-source)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 48
  • Travis Job 48.1
  • dea3ce31 on github
  • Prev Job for LOAFER_DEFAULT_ROUTE_SOURCE=test-source on master (#47.1)
  • Next Job for LOAFER_DEFAULT_ROUTE_SOURCE=test-source on master (#49.1)
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