]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: Use TestCaseInTempDir as base class in dns tests
authorAndrew Bartlett <abartlet@samba.org>
Thu, 1 Jun 2017 03:15:25 +0000 (15:15 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 10 Jun 2017 19:48:21 +0000 (21:48 +0200)
This will help when we add a new join test based on this code

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
python/samba/tests/dns_base.py

index 3d5aa8e25b0121f80b75c84820cea602db81da0c..2a40d999c36f4b01a0172789799d9314fbef472d 100644 (file)
@@ -16,7 +16,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
-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()