Unittest case pollutes httplib
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Eric Harney |
Bug Description
The unittest in 'tests/
To reproduce this bug:
1) put following code into test_httplib.py
-------
import httplib2
from nova import test
class HttplibTest(
def test_httplib(self):
http = httplib2.Http()
response, content = http.request("http://
-------
2) run this test after api/openstack/
./run_tests.sh api/openstack/
Following error should occur:
=======
ERROR: test_httplib (nova.tests.
-------
Traceback (most recent call last):
File "/home/
response, content = http.request("http://
File "/opt/stack/
proxy_
File "/opt/stack/
httplib.
TypeError: __init__() takes exactly 2 arguments (5 given)
-------
The root cause should be the 'wire_HTTPConne
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: low-hanging-fruit |
Changed in nova: | |
milestone: | none → folsom-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-2 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/8462
Review: https:/