]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Replace httplib.HTTPSConnection in unittests
authorDaniel Gollub <d.gollub@telekom.de>
Sun, 23 Feb 2014 08:30:00 +0000 (09:30 +0100)
committerDaniel Gollub <d.gollub@telekom.de>
Sun, 23 Feb 2014 08:48:00 +0000 (09:48 +0100)
commit0f9652d92e175a1f7dc3c2a37ab444b8f189375a
treefe348241ed61ffc812ea7c5ad9f881e7214e94e2
parentc2807f0ed41670f63fea15bbd44981509e5662e4
Replace httplib.HTTPSConnection in unittests

SSL Verification is from now on enabled by default for the
TestOpenStackClient. So far no unittests was making actively use of
httplib.HTTPSConnection.

Intention is to reduce noise of audits/scanners which look for Python 2.x
httplib.HTTPSConnection missing SSL verification. By completely abandoning the use
of httplib.HTTPSConnection.

Change-Id: Ic0352cf453d5c41f09084a6d68b3393b8ddda84a
Partial-Bug: 1188189
cinder/tests/integrated/api/client.py
cinder/tests/integrated/test_extensions.py
cinder/tests/integrated/test_xml.py