Merge "Skip test_list_all_networks if no known network configured"

This commit is contained in:
Zuul 2023-07-21 00:39:34 +00:00 committed by Gerrit Code Review
commit 98d402f3c3
1 changed files with 2 additions and 2 deletions

View File

@ -64,5 +64,5 @@ class NetworksTest(base.BaseV2ComputeAdminTest):
configured_network = CONF.compute.fixed_network_name
self.assertIn(configured_network, [x['label'] for x in networks])
else:
network_labels = [x['label'] for x in networks]
self.assertNotEmpty(network_labels)
raise self.skipException(
"Environment has no known-for-sure existing network.")