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

certbot / certbot / 7042
99%

Build:
DEFAULT BRANCH: master
Ran 25 Apr 2017 12:54AM UTC
Jobs 1
Files 148
Run time 7s
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
7042

push

travis-ci

bmw
Enhance display.util to support input validation (#4372)

* display: support validation of user input

To avoid each caller of `display.input` and `display.directory_select`
needing to implement validation logic, this allows for a validator to be
supplied as a part of the call.

Following the existing pattern from `webroot`, this validator is expected
to throw a `Error` when it encounters invalid input. The user then
receives a `notification` is re-prompted.

Testing Done:
 * tox -e py27
 * tox -e lint

* plugins: update webroot to use display's validation functionality

This change updates the webroot plugin to use the now-built-in validation
functionality in display, reducing duplicated code.

Testing Done:
 * tox -e py27
 * tox -e lint

* display: move validation logic to ops

To avoid adding complexity to `IDisplay` methods, move validation logic
to helper methods in `display.ops`.

Testing Done:
 * tox -e py27
 * tox -e lint

68 of 68 new or added lines in 4 files covered. (100.0%)

18170 of 18365 relevant lines covered (98.94%)

0.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7042.1 (TOXENV=cover) 25 Apr 2017 12:54AM UTC 0
98.94
Travis Job 7042.1
Source Files on build 7042
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7042
  • b41472af on github
  • Prev Build on master (#7034)
  • Next Build on master (#7046)
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