summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2017-06-01 15:15:25 +1200
committerAndrew Bartlett <abartlet@samba.org>2017-06-10 21:48:21 +0200
commitb36d4e9ca4f506f70f2c7461f51271e888c65a7e (patch)
tree7724d39e5016c2486aa4ba21633345e1c98ed4fa /python
parent9229809f75fbc5750679ebb238876a9825552619 (diff)
downloadsamba-b36d4e9ca4f506f70f2c7461f51271e888c65a7e.tar.gz
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 <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'python')
-rw-r--r--python/samba/tests/dns_base.py4
1 files 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 <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()