From: Andrew Bartlett Date: Thu, 1 Jun 2017 03:15:25 +0000 (+1200) Subject: selftest: Use TestCaseInTempDir as base class in dns tests X-Git-Tag: ldb-1.1.31~100 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b36d4e9ca4f506f70f2c7461f51271e888c65a7e;p=thirdparty%2Fsamba.git selftest: Use TestCaseInTempDir as base class in dns tests This will help when we add a new join test based on this code Signed-off-by: Andrew Bartlett Reviewed-by: Garming Sam --- diff --git a/python/samba/tests/dns_base.py b/python/samba/tests/dns_base.py index 3d5aa8e25b0..2a40d999c36 100644 --- a/python/samba/tests/dns_base.py +++ b/python/samba/tests/dns_base.py @@ -16,7 +16,7 @@ # along with this program. If not, see . # -from samba.tests import TestCase +from samba.tests import TestCaseInTempDir from samba.dcerpc import dns, dnsp from samba import gensec, tests from samba import credentials @@ -27,7 +27,7 @@ import socket import uuid import time -class DNSTest(TestCase): +class DNSTest(TestCaseInTempDir): def setUp(self): super(DNSTest, self).setUp()