mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
PEP8: fix E303: too many blank lines (2)
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
@ -56,7 +56,6 @@ class BasePasswordTestCase(PasswordTestCase):
|
||||
msg="attr[%s]=%r on dn[%s]" %
|
||||
(name, res[0][name], res[0].dn))
|
||||
|
||||
|
||||
print("%s = '%s'" % (name, res[0][name][0]))
|
||||
|
||||
if mode == "present":
|
||||
@ -189,7 +188,6 @@ class BasePasswordTestCase(PasswordTestCase):
|
||||
self.assertEquals(uinfo21.last_logon, lastLogon)
|
||||
self.assertEquals(uinfo21.logon_count, logonCount)
|
||||
|
||||
|
||||
# check LDAP again and make sure the samr.QueryUserInfo
|
||||
# doesn't have any impact.
|
||||
res2 = self.ldb.search(dn, scope=SCOPE_BASE, attrs=attrs)
|
||||
@ -392,7 +390,6 @@ lockoutThreshold: """ + str(lockoutThreshold) + """
|
||||
print(firstLogon)
|
||||
print(lastLogonTimestamp)
|
||||
|
||||
|
||||
self.assertGreater(lastLogon, badPasswordTime)
|
||||
self.assertGreaterEqual(lastLogon, lastLogonTimestamp)
|
||||
|
||||
@ -735,7 +732,6 @@ lockoutThreshold: """ + str(lockoutThreshold) + """
|
||||
msg=("second logon, firstlogon was %s" %
|
||||
firstLogon))
|
||||
|
||||
|
||||
lastLogon = int(res[0]["lastLogon"][0])
|
||||
|
||||
time.sleep(1)
|
||||
|
Reference in New Issue
Block a user