It looks like commit
070f24bc9d2 was incomplete because it doesn't
match on the trailing fullstop and newline.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Tue Sep 19 05:32:22 CEST 2017 on sn-devel-144
elif warn_pwd_expire == 50:
# This is needed as otherwise a build started just before
# midnight can fail
- if (res.info[0] != u"Your password will expire in 41 days"):
+ if (res.info[0] != u"Your password will expire in 41 days.\n"):
self.assertEqual(res.info[0], u"Your password will expire in 42 days.\n")
else:
self.assertEqual(warn_pwd_expire, 0)