Merge "Fix resource_cleanup function" into 0.1.x
diff --git a/tungsten_tempest_plugin/tests/api/contrail/rbac_base.py b/tungsten_tempest_plugin/tests/api/contrail/rbac_base.py
index 4067cfd..6a1b6c8 100644
--- a/tungsten_tempest_plugin/tests/api/contrail/rbac_base.py
+++ b/tungsten_tempest_plugin/tests/api/contrail/rbac_base.py
@@ -110,7 +110,7 @@
super(BaseContrailTest, cls).skip_checks()
if not CONF.service_available.contrail:
raise cls.skipException("Contrail support is required")
- if CONF.auth.tempest_roles != ['admin']:
+ if "admin" not in CONF.auth.tempest_roles:
raise cls.skipException(
"%s skipped because tempest roles is not admin" % cls.__name__)