Skip to content

Commit c836ab2

Browse files
lnutimuracardoe
authored andcommitted
volume: Add missing backup_id field in tests
This change also reverts commit: * 5f1ffe7 Depends-On: https://review.opendev.org/c/openstack/openstacksdk/+/958801 Change-Id: Icac78179bc324e6fbe762f8095f2cba490ef6aea Signed-off-by: Luan Utimura <luan.utimura@luizalabs.com> (cherry picked from commit 4132ca1)
1 parent 78ef2f5 commit c836ab2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

openstackclient/tests/unit/volume/v3/test_volume.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class TestVolumeCreate(volume_fakes.TestVolume):
3737
columns = (
3838
'attachments',
3939
'availability_zone',
40+
'backup_id',
4041
'bootable',
4142
'cluster_name',
4243
'consistencygroup_id',
@@ -78,6 +79,7 @@ def setUp(self):
7879
self.datalist = (
7980
self.volume.attachments,
8081
self.volume.availability_zone,
82+
self.volume.backup_id,
8183
self.volume.is_bootable,
8284
self.volume.cluster_name,
8385
self.volume.consistency_group_id,
@@ -2011,6 +2013,7 @@ def setUp(self):
20112013
self.columns = (
20122014
'attachments',
20132015
'availability_zone',
2016+
'backup_id',
20142017
'bootable',
20152018
'cluster_name',
20162019
'consistencygroup_id',
@@ -2045,6 +2048,7 @@ def setUp(self):
20452048
self.data = (
20462049
self.volume.attachments,
20472050
self.volume.availability_zone,
2051+
self.volume.backup_id,
20482052
self.volume.is_bootable,
20492053
self.volume.cluster_name,
20502054
self.volume.consistency_group_id,

0 commit comments

Comments
 (0)