mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
python/tests/dns*: remove unused imports
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Noel Power <npower@samba.org>
This commit is contained in:
committed by
Noel Power
parent
f5df55d244
commit
018c0138c2
@ -36,7 +36,6 @@ from samba import werror, WERRORError
|
|||||||
from samba.tests.dns_base import DNSTest
|
from samba.tests.dns_base import DNSTest
|
||||||
import samba.getopt as options
|
import samba.getopt as options
|
||||||
import optparse
|
import optparse
|
||||||
import samba.dcerpc.dnsp
|
|
||||||
|
|
||||||
|
|
||||||
parser = optparse.OptionParser("dns.py <server name> <server ip> [options]")
|
parser = optparse.OptionParser("dns.py <server name> <server ip> [options]")
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import struct
|
|
||||||
import random
|
import random
|
||||||
import socket
|
import socket
|
||||||
import samba
|
import samba
|
||||||
|
@ -15,17 +15,10 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
import os
|
|
||||||
import sys
|
import sys
|
||||||
import struct
|
from samba import credentials
|
||||||
import random
|
from samba.dcerpc import dns
|
||||||
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.tests.subunitrun import SubunitOptions, TestProgram
|
from samba.tests.subunitrun import SubunitOptions, TestProgram
|
||||||
from samba import werror, WERRORError
|
|
||||||
from samba.tests.dns_base import DNSTest
|
from samba.tests.dns_base import DNSTest
|
||||||
import samba.getopt as options
|
import samba.getopt as options
|
||||||
import optparse
|
import optparse
|
||||||
|
@ -17,16 +17,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import struct
|
|
||||||
import random
|
|
||||||
import socket
|
|
||||||
import optparse
|
import optparse
|
||||||
import uuid
|
|
||||||
import time
|
|
||||||
import samba.ndr as ndr
|
|
||||||
import samba.getopt as options
|
import samba.getopt as options
|
||||||
from samba import credentials
|
from samba.dcerpc import dns
|
||||||
from samba.dcerpc import dns, dnsp
|
|
||||||
from samba.tests.subunitrun import SubunitOptions, TestProgram
|
from samba.tests.subunitrun import SubunitOptions, TestProgram
|
||||||
from samba.tests.dns_base import DNSTKeyTest
|
from samba.tests.dns_base import DNSTKeyTest
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user