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:
@ -70,7 +70,6 @@ class PyCredentialsTests(TestCase):
|
||||
self.create_machine_account()
|
||||
self.create_user_account()
|
||||
|
||||
|
||||
def tearDown(self):
|
||||
super(PyCredentialsTests, self).tearDown()
|
||||
delete_force(self.ldb, self.machine_dn)
|
||||
@ -104,7 +103,6 @@ class PyCredentialsTests(TestCase):
|
||||
(authenticator, subsequent) = self.get_authenticator(c)
|
||||
self.do_NetrLogonGetDomainInfo(c, authenticator, subsequent)
|
||||
|
||||
|
||||
def test_SamLogonEx(self):
|
||||
c = self.get_netlogon_connection()
|
||||
|
||||
@ -211,12 +209,10 @@ class PyCredentialsTests(TestCase):
|
||||
else:
|
||||
raise
|
||||
|
||||
|
||||
# Test Credentials.encrypt_netr_crypt_password
|
||||
# By performing a NetrServerPasswordSet2
|
||||
# And the logging on using the new password.
|
||||
|
||||
|
||||
def test_encrypt_netr_password(self):
|
||||
# Change the password
|
||||
self.do_Netr_ServerPasswordSet2()
|
||||
@ -225,11 +221,9 @@ class PyCredentialsTests(TestCase):
|
||||
self.lp,
|
||||
self.machine_creds)
|
||||
|
||||
|
||||
# Change the current machine account password with a
|
||||
# netr_ServerPasswordSet2 call.
|
||||
|
||||
|
||||
def do_Netr_ServerPasswordSet2(self):
|
||||
c = self.get_netlogon_connection()
|
||||
(authenticator, subsequent) = self.get_authenticator(c)
|
||||
|
Reference in New Issue
Block a user