Remove unused function: fake_get_remote_image_service

Bug #1286809 reported by Wu Wenxiang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Wishlist
Mike Perez

Bug Description

diff --git a/cinder/tests/image/fake.py b/cinder/tests/image/fake.py
index 18cea57..9b5a83f 100644
--- a/cinder/tests/image/fake.py
+++ b/cinder/tests/image/fake.py
@@ -229,8 +229,6 @@ def FakeImageService_reset():

 def stub_out_image_service(stubs):
- def fake_get_remote_image_service(context, image_href):
- return (FakeImageService(), image_href)
     stubs.Set(cinder.image.glance, 'get_remote_image_service',
               lambda x, y: (FakeImageService(), y))
     stubs.Set(cinder.image.glance, 'get_default_image_service',

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

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

Changed in cinder:
assignee: nobody → Wu Wenxiang (wu-wenxiang)
status: New → In Progress
Mike Perez (thingee)
Changed in cinder:
assignee: Wu Wenxiang (wu-wenxiang) → Mike Perez (thingee)
Mike Perez (thingee)
Changed in cinder:
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

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

Reviewed: https://review.openstack.org/112661
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=5c1d0a6246cbd3f05f6c41e7cfc7046fa3431726
Submitter: Jenkins
Branch: master

commit 5c1d0a6246cbd3f05f6c41e7cfc7046fa3431726
Author: Wu Wenxiang <wu.wenxiang@99cloud.net>
Date: Sun Mar 2 22:20:49 2014 +0800

    General cleanup of unused objects

    * Remove unused function fake_get_remote_image_service
    * Remove unused local function fake_execute2
    * stub_out_key_pair_funcs() does nothing, remove it.
    * Removed usage of enumerate()

    Closes-Bug: #1286714
    Closes-Bug: #1286712
    Closes-Bug: #1286742
    Closes-Bug: #1286809
    Change-Id: I76413c886f6903df2adcf4a4ceb8990486a2ff2f

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → juno-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: juno-3 → 2014.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.