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

swistakm / graceful / 51
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: 0.6.3
DEFAULT BRANCH: master
Ran 02 Aug 2016 02:40PM 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
51

Pull #27

travis-ci

web-flow
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.
Pull Request #27: params: add option to specify param validation (refs #5)

18 of 18 new or added lines in 3 files covered. (100.0%)

446 of 446 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
8 51.8 (TOX_ENV=coverage) 02 Aug 2016 02:40PM UTC 0
100.0
Travis Job 51.8
Source Files on build 51
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #51
  • Pull Request #27
  • PR Base - dev/0.2.x (#49)
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