unit tests fake out registry connection incorrectly

Bug #1038219 reported by Brian Waldon on 2012-08-17
This bug affects 1 person
Affects Status Importance Assigned to Milestone
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.

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) on 2012-09-11
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-09-27
Changed in glance:
milestone: folsom-rc1 → 2012.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers