mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +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:
parent
244ecc844d
commit
d0e9f22654
@ -90,7 +90,7 @@ class PassdbTestCase(TestCaseInTempDir):
|
|||||||
def test_policy(self):
|
def test_policy(self):
|
||||||
policy = self.pdb.get_account_policy()
|
policy = self.pdb.get_account_policy()
|
||||||
self.assertEquals(0, policy['bad lockout attempt'])
|
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(0, policy['lockout duration'])
|
||||||
self.assertEquals(999999999, policy['maximum password age'])
|
self.assertEquals(999999999, policy['maximum password age'])
|
||||||
self.assertEquals(0, policy['minimum password age'])
|
self.assertEquals(0, policy['minimum password age'])
|
||||||
|
Loading…
Reference in New Issue
Block a user