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

pywbem / pywbem / 11468
92%

Build:
DEFAULT BRANCH: master
Ran 28 Dec 2019 05:52PM UTC
Jobs 1
Files 30
Run time 3s
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
11468

push

travis-ci

andy-maier
Migrated HTTP communication to use requests

This change migrates the HTTP communication of the pywbem client to use
the Python 'requests' package. This unifies the HTTP communication
again between Python 2 (where M2Crypto was used) and Python 3 (where
Python's ssl module was used).

Details:

* The coding changes are mainly in cim_http.py where the internal
  function wbem_requests() has mostly been re-written, and in
  cim_operations.py where wbem_requests() is called and the
  WBEMConnection object got a new 'session' attribute for the
  requests.Session object.

* Changed the way the 'ca_certs' parameter of 'WBEMConnection' can
  be used to select the CA certificates used to validate the
  server certificate, as follows:
  - Removed the set of hard coded certificate directories.
  - The default 'None' now causes the certificates from the certifi
    package to be used.
  - A string is interpreted as a path of a certificate file
    or certificate directory. Upon creation of the WBEMConnection
    object, the specified path name is checked for existance, and
    IOError is raised if it does not exist.

* Added concept of features in pywbem and a first PYWBEM_USES_REQUESTS
  feature which indicates a version of pywbem that uses the 'requests'
  package. This is useful for users of pywbem to write code that works
  with multiple versions of pywbem.

* Added a check for existance of the client certificate files
  specified with the 'x509' parameter of 'WBEMConnection', raising
  IOError if any of them is specified but does not exist.

* Added a 'scheme' read-only attribute to WBEMConnection that provides
  the scheme of the input URL.

* Removed support for the 'OWLocal' authentication scheme that was supported
  for the OpenWBEM server, and the 'Local' authentication scheme that was
  supported for the OpenPegasus server. Pywbem now supports only the 'Basic'
  authentication scheme.

* Removed support for communicating with WBEM servers using UNIX do... (continued)

8825 of 10167 relevant lines covered (86.8%)

0.87 hits per line

Jobs
ID Job ID Ran Files Coverage
3 11468.3 (PACKAGE_LEVEL=latest) 28 Dec 2019 05:52PM UTC 0
86.8
Travis Job 11468.3
Source Files on build 11468
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11468
  • 93fefa5e on github
  • Prev Build on master (#11436)
  • Next Build on master (#11471)
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