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

seecloud / ceagle / 192 / 5
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 03 Dec 2016 10:26AM UTC
Files 18
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

03 Dec 2016 10:23AM UTC coverage: 95.149% (+1.2%) from 93.976%
TOXENV=cover

push

travis-ci

boris-42
Added API ceagle proxy to health (#33)

* Implement health API proxy for ceagle

* Modify api_fake_data's api_handler to be lazy

Previously api_handler function returned a lambda, that could be used as
a decorator and would return fake or real function, depending on a
global variable. The decision was made at import time. This made it very
difficult to test decorated functions behaviour, since these functions
were decorated away before there was any chance to mock config or global
variable.
With this commit api_handler returns a decorator, that, when applied,
returns a function, that proxies calls to fake or real api function,
depending on global variable.
This consequently means there will be an extra function call for every
request. However this would potentially allow us to switch behaviour
from/to fake functions on the fly.

This commit also restores fake decorators around health API functions.

255 of 268 relevant lines covered (95.15%)

0.95 hits per line

Source Files on job 192.5 (TOXENV=cover)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 192
  • Travis Job 192.5
  • b23eeecc on github
  • Prev Job for TOXENV=cover on master (#189.5)
  • Next Job for TOXENV=cover on master (#201.5)
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