unit tests fake out registry connection incorrectly

Bug #1038219 reported by Brian Waldon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
High
Brian Waldon

Bug Description

The FakeRegistryConnection class in the tests fakes out an http connection to return a webob response. The calling code expects an httplib.Response object. This is causing inconsistencies in what we expect vs what we get when running the code funcitonally.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.openstack.org/11575

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/11575
Committed: http://github.com/openstack/glance/commit/564c11e677dae2ca69aca5b1c5331f66f58725d5
Submitter: Jenkins
Branch: master

commit 564c11e677dae2ca69aca5b1c5331f66f58725d5
Author: Brian Waldon <email address hidden>
Date: Fri Aug 17 15:01:51 2012 -0400

    Return httplib.HTTPResponse from fake reg conn

    Fixes bug 1038219

    Change-Id: Ib7e205398c532007d189cdde3ab850b721f06a2a

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: folsom-rc1 → 2012.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.