From: Stefan Metzmacher Date: Tue, 11 Dec 2018 18:41:08 +0000 (+0100) Subject: py:dcerpc/raw_testcase: disconnect on tearDown() of RawDCERPCTest X-Git-Tag: tdb-1.3.17~132 X-Git-Url: http://git.samba.org/samba.git/?a=commitdiff_plain;h=cc2dc2e2b32967f5590bf59146520d760fecbab4;p=sfrench%2Fsamba-autobuild%2F.git py:dcerpc/raw_testcase: disconnect on tearDown() of RawDCERPCTest BUG: https://bugzilla.samba.org/show_bug.cgi?id=7113 BUG: https://bugzilla.samba.org/show_bug.cgi?id=11892 Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- diff --git a/python/samba/tests/dcerpc/raw_testcase.py b/python/samba/tests/dcerpc/raw_testcase.py index fd004226c31..d14966e8a82 100644 --- a/python/samba/tests/dcerpc/raw_testcase.py +++ b/python/samba/tests/dcerpc/raw_testcase.py @@ -76,6 +76,10 @@ class RawDCERPCTest(TestCase): self.connect() + def tearDown(self): + self._disconnect("tearDown") + super(TestCase, self).tearDown() + def noop(self): return