Merge "Fix functional job failed"
This commit is contained in:
commit
fb68cccddd
@ -113,6 +113,17 @@ class NetworkSegmentTests(common.NetworkTests):
|
|||||||
self.openstack,
|
self.openstack,
|
||||||
'network segment delete ' + name
|
'network segment delete ' + name
|
||||||
)
|
)
|
||||||
|
|
||||||
|
extension_output = json.loads(self.openstack(
|
||||||
|
"extension list -f json "
|
||||||
|
))
|
||||||
|
ext_alias = [x["Alias"] for x in extension_output]
|
||||||
|
if "standard-attr-segment" in ext_alias:
|
||||||
|
self.assertEqual(
|
||||||
|
'',
|
||||||
|
json_output["description"],
|
||||||
|
)
|
||||||
|
else:
|
||||||
self.assertIsNone(
|
self.assertIsNone(
|
||||||
json_output["description"],
|
json_output["description"],
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user