"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "keystone/tests/unit/common/test_notifications.py" between
keystone-17.0.0.tar.gz and keystone-18.0.0.tar.gz

About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Victoria" series (latest release).

test_notifications.py  (keystone-17.0.0):test_notifications.py  (keystone-18.0.0)
skipping to change at line 754 skipping to change at line 754
conf.config(notification_format='cadf') conf.config(notification_format='cadf')
conf.config(group='security_compliance', conf.config(group='security_compliance',
password_expires_days=2) password_expires_days=2)
conf.config(group='security_compliance', conf.config(group='security_compliance',
lockout_failure_attempts=3) lockout_failure_attempts=3)
conf.config(group='security_compliance', conf.config(group='security_compliance',
unique_last_password_count=2) unique_last_password_count=2)
conf.config(group='security_compliance', conf.config(group='security_compliance',
minimum_password_age=2) minimum_password_age=2)
conf.config(group='security_compliance', conf.config(group='security_compliance',
password_regex='^(?=.*\d)(?=.*[a-zA-Z]).{7,}$') password_regex=r'^(?=.*\d)(?=.*[a-zA-Z]).{7,}$')
conf.config(group='security_compliance', conf.config(group='security_compliance',
password_regex_description='1 letter, 1 digit, 7 chars') password_regex_description='1 letter, 1 digit, 7 chars')
def test_password_expired_sends_notification(self): def test_password_expired_sends_notification(self):
password = uuid.uuid4().hex password = uuid.uuid4().hex
password_creation_time = ( password_creation_time = (
datetime.datetime.utcnow() - datetime.datetime.utcnow() -
datetime.timedelta( datetime.timedelta(
days=CONF.security_compliance.password_expires_days + 1) days=CONF.security_compliance.password_expires_days + 1)
) )
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)