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

aperezdc / omni / 9 / 2
82%
master: 82%

Build:
DEFAULT BRANCH: master
Ran 19 Nov 2014 12:01PM UTC
Files 8
Run time 5s
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

19 Nov 2014 11:56AM UTC coverage: 88.78% (-0.06%) from 88.835%
9.2

push

travis-ci

aperezdc
Infer route name from function name in decorator

The previous approach was to patch up the route's "name" attribute later on,
when enumerating the routes (at Routes.routes), but that would not cover the
case in whicha route is used directly without enumerating it, e.g.:

  class App(Dispatcher):
    @get("/foo")
    def foo(self, request):
      return ""

    def __init__(self):
      super(App, self).__init__()
      self.add_route(self.foo)  # <-- Direct route usage

By inferring the name in the recorator, these kind of uses will always work.

364 of 410 relevant lines covered (88.78%)

0.89 hits per line

Source Files on job 9.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9
  • Travis Job 9.2
  • 59e98721 on github
  • Prev Job for on master (#8.2)
  • Next Job for on master (#10.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