1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-07 00:58:40 +03:00

tests/audit_log: Add missing call to tearDown()

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-05-26 11:50:21 +12:00 committed by Andrew Bartlett
parent a05a9a3e78
commit 76e87c6262

View File

@ -131,6 +131,8 @@ class AuditLogTestBase(samba.tests.TestCase):
self.msg_ctx.deregister(self.auth_handler_and_context,
msg_type=MSG_AUTH_LOG)
super().tearDown()
def haveExpected(self, expected, dn):
if dn is None:
return len(self.context["messages"]) >= expected