1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3-passdb_test: Policy values are converted to signed integer

No need to check value for 0xffffffff (4294967295).
This commit is contained in:
Amitay Isaacs 2011-11-18 09:55:38 +11:00
parent 244ecc844d
commit d0e9f22654

View File

@ -90,7 +90,7 @@ class PassdbTestCase(TestCaseInTempDir):
def test_policy(self):
policy = self.pdb.get_account_policy()
self.assertEquals(0, policy['bad lockout attempt'])
self.assertEquals(4294967295, policy['disconnect time'])
self.assertEquals(-1, policy['disconnect time'])
self.assertEquals(0, policy['lockout duration'])
self.assertEquals(999999999, policy['maximum password age'])
self.assertEquals(0, policy['minimum password age'])