We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5a9fc91 + b776f70 commit fb68cccCopy full SHA for fb68ccc
1 file changed
openstackclient/tests/functional/network/v2/test_network_segment.py
@@ -113,9 +113,20 @@ def test_network_segment_set_show(self):
113
self.openstack,
114
'network segment delete ' + name
115
)
116
- self.assertIsNone(
117
- json_output["description"],
118
- )
+
+ extension_output = json.loads(self.openstack(
+ "extension list -f json "
119
+ ))
120
+ ext_alias = [x["Alias"] for x in extension_output]
121
+ if "standard-attr-segment" in ext_alias:
122
+ self.assertEqual(
123
+ '',
124
+ json_output["description"],
125
+ )
126
+ else:
127
+ self.assertIsNone(
128
129
130
131
new_description = 'new_description'
132
cmd_output = self.openstack(
0 commit comments