mirror of
https://github.com/samba-team/samba.git
synced 2025-12-07 20:23:50 +03:00
tests (audit_auth)_log: PEP8 cleanup.
Remove Flake8 warnings from the audit and authentication JSON log tests. Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
bd2d6b2bbe
commit
05c981f0b4
@@ -45,7 +45,7 @@ class AuditLogPassChangeTests(AuditLogTestBase):
|
||||
|
||||
def setUp(self):
|
||||
self.message_type = MSG_DSDB_PWD_LOG
|
||||
self.event_type = DSDB_PWD_EVENT_NAME
|
||||
self.event_type = DSDB_PWD_EVENT_NAME
|
||||
super(AuditLogPassChangeTests, self).setUp()
|
||||
|
||||
self.remoteAddress = os.environ["CLIENT_IP"]
|
||||
@@ -97,7 +97,7 @@ class AuditLogPassChangeTests(AuditLogTestBase):
|
||||
# Discard the messages from the setup code
|
||||
#
|
||||
def discardSetupMessages(self, dn):
|
||||
messages = self.waitForMessages(1, dn=dn)
|
||||
self.waitForMessages(1, dn=dn)
|
||||
self.discardMessages()
|
||||
|
||||
def tearDown(self):
|
||||
|
||||
Reference in New Issue
Block a user