redundant code in glance.tests.unit.utils:FakeDB.reset
Bug #1264204 reported by
ZhiQiang Fan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
ZhiQiang Fan |
Bug Description
glance.
FakeDB implements reset with:
@staticmethod
def reset():
'tags': {},
}
while api already has:
def reset():
global DATA
DATA = {
'images': {},
'members': [],
'tags': {},
'tasks': {},
}
the redundant code in glance.
Changed in glance: | |
assignee: | nobody → ZhiQiang Fan (aji-zqfan) |
tags: | added: low-hanging-fruit unittest |
Changed in glance: | |
milestone: | none → icehouse-2 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | icehouse-2 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/64087
Review: https:/