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

swistakm / graceful / 50
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: 0.6.3
DEFAULT BRANCH: master
Ran 02 Aug 2016 02:36PM UTC
Jobs 1
Files 10
Run time 2s
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
50

push

travis-ci

swistakm
params: add option to specify param validation (refs #5)

Param validation is now handled by additional `validators` keyword
argument to `BaseParam` class. This is consistent with API of field
definitions so we favour the reuse of same validation functions.
This means that all existing validato function factories available
in `graceful.validators` module can be used with params too.
The fact that params have different source than fields (query
string instead of content-type serialized body) does not matter
at all because in both cases we work on deserialized/internal
values.

What is different is the way how validation is triggered. Field
validation is mostly managed by field definition class but param
validation is almost exclusively handled by
`BaseResource.require_params()` method.

446 of 446 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
8 50.8 (TOX_ENV=coverage) 02 Aug 2016 02:36PM UTC 0
100.0
Travis Job 50.8
Source Files on build 50
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #50
  • 4bb3d1a2 on github
  • Next Build on feature/param-validation (#54)
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