]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
python/tests/dns*: remove unused imports
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 11 Oct 2018 00:42:10 +0000 (13:42 +1300)
committerNoel Power <npower@samba.org>
Thu, 25 Oct 2018 19:45:54 +0000 (21:45 +0200)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
python/samba/tests/dns.py
python/samba/tests/dns_forwarder.py
python/samba/tests/dns_invalid.py
python/samba/tests/dns_tkey.py

index 1e6734f580c449c5528af6c233418ee5b20ccb1a..12cfb86c254d79072002df507cb967d888d3b69d 100644 (file)
@@ -36,7 +36,6 @@ from samba import werror, WERRORError
 from samba.tests.dns_base import DNSTest
 import samba.getopt as options
 import optparse
-import samba.dcerpc.dnsp
 
 
 parser = optparse.OptionParser("dns.py <server name> <server ip> [options]")
index 6d8efa5edd39666a3be0ce7f39e274850c2b1aec..35f1c1974be2f38e7319ada83a5e9ac45738cede 100644 (file)
@@ -18,7 +18,6 @@
 from __future__ import print_function
 import os
 import sys
-import struct
 import random
 import socket
 import samba
index 46611eb57a0f059e2d7789e5e97e99af5634f96c..0234798091d3a9ddc7c1e7137c9e6b9a1eb14a01 100644 (file)
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
-import os
 import sys
-import struct
-import random
-import socket
-import samba.ndr as ndr
-from samba import credentials, param
-from samba.dcerpc import dns, dnsp, dnsserver
-from samba.netcmd.dns import TXTRecord, dns_record_match, data_to_dns_record
+from samba import credentials
+from samba.dcerpc import dns
 from samba.tests.subunitrun import SubunitOptions, TestProgram
-from samba import werror, WERRORError
 from samba.tests.dns_base import DNSTest
 import samba.getopt as options
 import optparse
index fff433eb600c684dbaa5829776a53967acc2cf08..8dd1b5516707bd474e7ae7dbaa8dd894237ce9be 100644 (file)
 #
 
 import sys
-import struct
-import random
-import socket
 import optparse
-import uuid
-import time
-import samba.ndr as ndr
 import samba.getopt as options
-from samba import credentials
-from samba.dcerpc import dns, dnsp
+from samba.dcerpc import dns
 from samba.tests.subunitrun import SubunitOptions, TestProgram
 from samba.tests.dns_base import DNSTKeyTest