File: add-missing-backup_id-field.patch

package info (click to toggle)
python-openstackclient 8.2.0-8
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,048 kB
  • sloc: python: 132,005; makefile: 140; sh: 22
file content (42 lines) | stat: -rw-r--r-- 1,715 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Description: Add missing backup_id field
Author: Luan Utimura <luan.utimura@luizalabs.com>
Bug-Debian: https://bugs.debian.org/1123450
Origin: upstream, https://review.opendev.org/c/openstack/python-openstackclient/+/971255
Last-Update: 2025-12-23

Index: python-openstackclient/openstackclient/tests/unit/volume/v3/test_volume.py
===================================================================
--- python-openstackclient.orig/openstackclient/tests/unit/volume/v3/test_volume.py
+++ python-openstackclient/openstackclient/tests/unit/volume/v3/test_volume.py
@@ -37,6 +37,7 @@ class TestVolumeCreate(volume_fakes.Test
     columns = (
         'attachments',
         'availability_zone',
+        'backup_id',
         'bootable',
         'cluster_name',
         'consistencygroup_id',
@@ -78,6 +79,7 @@ class TestVolumeCreate(volume_fakes.Test
         self.datalist = (
             self.volume.attachments,
             self.volume.availability_zone,
+            self.volume.backup_id,
             self.volume.is_bootable,
             self.volume.cluster_name,
             self.volume.consistency_group_id,
@@ -2011,6 +2013,7 @@ class TestVolumeShow(volume_fakes.TestVo
         self.columns = (
             'attachments',
             'availability_zone',
+            'backup_id',
             'bootable',
             'cluster_name',
             'consistencygroup_id',
@@ -2045,6 +2048,7 @@ class TestVolumeShow(volume_fakes.TestVo
         self.data = (
             self.volume.attachments,
             self.volume.availability_zone,
+            self.volume.backup_id,
             self.volume.is_bootable,
             self.volume.cluster_name,
             self.volume.consistency_group_id,