Fixes test_user_update_own_password test cleanup problem (New password cannnot be identical to a previous password)
This test's cleanup method needs to have security compliance feature enabled to take effect. Because it uses constant which is valid only if it's enabled. That's why this test has to be skipped unless Security compliance is available. Closes-Bug: 1934249 Change-Id: I006fdf233b0af20625e41beb2a4c63109fcdcb17
This commit is contained in:
parent
027a27c65d
commit
ba62b11a21
|
@ -77,6 +77,8 @@ class IdentityV3UsersTest(base.BaseIdentityV3Test):
|
|||
time.sleep(1)
|
||||
self.non_admin_users_client.auth_provider.set_auth()
|
||||
|
||||
@testtools.skipUnless(CONF.identity_feature_enabled.security_compliance,
|
||||
'Security compliance not available.')
|
||||
@decorators.idempotent_id('ad71bd23-12ad-426b-bb8b-195d2b635f27')
|
||||
@testtools.skipIf(CONF.identity_feature_enabled.immutable_user_source,
|
||||
'Skipped because environment has an '
|
||||
|
|
Loading…
Reference in New Issue