Do not use test.get_service_list()
Currently 'network' service is always True in test.get_service_list()
S check for the same is not much of use.
Also Tempest is moving the get_service_list from test.py to utils.
- Ibd52153d00b8e60fb8c89e38d94e358ddc787251
Till that movement is done, let's comment the usage of get_service_list
and if needed to check 'network' service availability, then get_service_list
can be used from new location.
Change-Id: I8edd8da695698db03a752dcfedbd290facfa8fca
diff --git a/patrole_tempest_plugin/tests/api/compute/test_server_rbac.py b/patrole_tempest_plugin/tests/api/compute/test_server_rbac.py
index 4a105d7..52f00f4 100644
--- a/patrole_tempest_plugin/tests/api/compute/test_server_rbac.py
+++ b/patrole_tempest_plugin/tests/api/compute/test_server_rbac.py
@@ -186,9 +186,15 @@
def skip_checks(cls):
super(SecurtiyGroupsRbacTest, cls).skip_checks()
# All the tests below require the network service.
- if not test.get_service_list()['network']:
- raise cls.skipException(
- 'Skipped because the network service is not available')
+ # NOTE(gmann) Currently 'network' service is always True in
+ # test.get_service_list() So below check is not much of use.
+ # Commenting the below check as Tempest is moving the get_service_list
+ # from test.py to utils.
+ # If we want to check 'network' service availability, then
+ # get_service_list can be used from new location.
+ # if not test.get_service_list()['network']:
+ # raise cls.skipException(
+ # 'Skipped because the network service is not available')
@classmethod
def resource_setup(cls):