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

seecloud / ceagle / 192
95%

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

pending completion
192

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

Jobs
ID Job ID Ran Files Coverage
5 192.5 (TOXENV=cover) 03 Dec 2016 10:26AM UTC 0
95.15
Travis Job 192.5
Source Files on build 192
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #192
  • b23eeecc on github
  • Prev Build on master (#189)
  • Next Build on master (#201)
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