diff --git a/tempest/api/identity/admin/v3/test_list_users.py b/tempest/api/identity/admin/v3/test_list_users.py index c69e4c8040..5aec931672 100644 --- a/tempest/api/identity/admin/v3/test_list_users.py +++ b/tempest/api/identity/admin/v3/test_list_users.py @@ -33,6 +33,14 @@ class UsersV3TestJSON(base.BaseIdentityV3AdminTest): self.assertNotIn(not_expected[key], map(lambda x: x[key], body)) + @classmethod + def skip_checks(cls): + super(UsersV3TestJSON, cls).skip_checks() + if CONF.identity_feature_enabled.immutable_user_source: + raise cls.skipException('Skipped because environment has an ' + 'immutable user source and solely ' + 'provides read-only access to users.') + @classmethod def resource_setup(cls): super(UsersV3TestJSON, cls).resource_setup()