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

geertj / gruvi / 132
90%

Build:
DEFAULT BRANCH: master
Ran 18 May 2017 07:21PM UTC
Jobs 4
Files 24
Run time 37s
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
132

push

travis-ci

geertj
ssl: verify certs by default

This add a function sslcompat.create_default_context() that forwards to
ssl.create_default_context() on Python versions that have it, and
otherwise emulates it. This function returns an SSLContext with the best
balance between interoperability and security for the capabilities of
the _ssl module of the specific Python version.

This new function is now the default context for create_connection() and
create_server(), thereby enforcing certificate validation on any Python
version that supports it (i.e. >= 2.7.9).

All tests now validate certificates also.

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

3434 of 4118 relevant lines covered (83.39%)

3.32 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
100.0
lib/gruvi/ssl.py
11
100.0
lib/gruvi/sslcompat.py
5
100.0
lib/gruvi/endpoints.py

Coverage Regressions

Lines Coverage ∆ File
167
100.0
lib/gruvi/ssl.py
62
100.0
lib/gruvi/sslcompat.py
9
100.0
lib/gruvi/compat.py
6
100.0
lib/gruvi/endpoints.py
5
100.0
lib/gruvi/http.py
2
100.0
lib/gruvi/hub.py
2
100.0
lib/gruvi/sync.py
2
100.0
lib/gruvi/process.py
2
100.0
lib/gruvi/dbus.py
1
100.0
lib/gruvi/protocols.py
Jobs
ID Job ID Ran Files Coverage
2 132.2 (TOX_ENV=coverage VERBOSE=2) 18 May 2017 07:21PM UTC 0
83.17
Travis Job 132.2
3 132.3 (TOX_ENV=coverage VERBOSE=2) 18 May 2017 07:21PM UTC 0
83.27
Travis Job 132.3
4 132.4 (TOX_ENV=coverage VERBOSE=2) 18 May 2017 07:21PM UTC 0
82.81
Travis Job 132.4
5 132.5 (TOX_ENV=coverage VERBOSE=2) 18 May 2017 07:22PM UTC 0
82.83
Travis Job 132.5
Source Files on build 132
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #132
  • 7b1cb026 on github
  • Prev Build on master (#131)
  • Next Build on master (#133)
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