Add fake_cgsnapshot for cinder unittest
Bug #1563770 reported by
Peter Wang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Peter Wang |
Bug Description
Since all cinder objects have been converted to objects, fake objects are needed during UT, many fake objects are provided such as fake volume, fake snapshot, fake consistency group. So it's necessary to generate fake cgsnapshot object for UT as well
Without this change, third party driver could not use cgsnapshot like below:
cgsnapshot.id
cgsnapshot.
Thanks
Peter
Changed in cinder: | |
assignee: | nobody → Peter Wang (peter.wang) |
description: | updated |
Changed in cinder: | |
status: | New → Fix Committed |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/299297
Review: https:/