From b36d4e9ca4f506f70f2c7461f51271e888c65a7e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 1 Jun 2017 15:15:25 +1200 Subject: [PATCH] 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 --- python/samba/tests/dns_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.47.2