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

ncclient / ncclient / 420
81%

Build:
DEFAULT BRANCH: master
Ran 19 Sep 2018 09:29AM UTC
Jobs 4
Files 50
Run time 31s
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
420

push

travis-ci

einarnn
SSH Host key checking (#280)

* SSH Host key checking
- before initiating connection, set preferred_key (types) to be those that we already possess for the host (if any)
- when checking known_hosts, cater for ports other than 22
- if hostkey specified, remote host /must/ match that hostkey

Formatting:
- reformat function definition for easier reading of arguments
- remove use of temporary single-character variables for clarity sake

* more tests

* remove breaking test for incorrect host key padding

* change hostkey var name to be explicit on type hostkey_b64

* revert to raising SSHError

* fix: comments & whitespace tidy

* - move known_hosts_lookup (the host entry in known_hosts, with optional port number appended)
- move into if hostkey_verify, so that setting this False won't check, even when hostkey_b64 supplied
- when checking host keys, use the existing is_known_host bool and raise Exception code (neater, fewer code paths)

* check known_hosts only if hostkey_b64 not specified

* remove unused import

* Housekeeping & Cleaning
- hostkey_b64 object creation - raise new (instead of reusing) exception with friendlier message
- import NetconfFramingError (used on line 210 in _parse11
- remove unused ncclient.xml_ import
- pep8 spacing

1408 of 2162 relevant lines covered (65.12%)

2.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 420.1 19 Sep 2018 09:29AM UTC 0
64.01
Travis Job 420.1
2 420.2 19 Sep 2018 09:30AM UTC 0
64.56
Travis Job 420.2
3 420.3 19 Sep 2018 09:29AM UTC 0
64.56
Travis Job 420.3
4 420.4 19 Sep 2018 09:29AM UTC 0
64.43
Travis Job 420.4
Source Files on build 420
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #420
  • 26b79d13 on github
  • Prev Build on master (#418)
  • Next Build on master (#425)
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