Do not check account unlock if lockout config is 0

In test_user_account_lockout, if both CONF.identity.user_lockout_failure
_attempts and CONF.identity.user_lockout_duration are set to 0, the
testcase should be skipped.

Change-Id: Ie8fc407633708066e60322f73cdfed1a0a0dbd20
1 file changed