From d0e9f22654be1c9972c5b5ba6b3ebe808f27c678 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Fri, 18 Nov 2011 09:55:38 +1100 Subject: s3-passdb_test: Policy values are converted to signed integer No need to check value for 0xffffffff (4294967295). --- source4/scripting/python/samba/tests/samba3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/scripting/python/samba/tests/samba3.py b/source4/scripting/python/samba/tests/samba3.py index fb1eb5a14d..782cf37461 100644 --- a/source4/scripting/python/samba/tests/samba3.py +++ b/source4/scripting/python/samba/tests/samba3.py @@ -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']) -- cgit