From: Douglas Bagnall Date: Thu, 11 Oct 2018 03:50:49 +0000 (+1300) Subject: py/tests: remove unused imports X-Git-Tag: tdb-1.3.17~1179 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff1bff9e8ba40cdbbbdf5489b3dcad34883f0192;p=thirdparty%2Fsamba.git py/tests: remove unused imports Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- diff --git a/python/samba/tests/dcerpc/raw_testcase.py b/python/samba/tests/dcerpc/raw_testcase.py index c4d364128b3..fd004226c31 100644 --- a/python/samba/tests/dcerpc/raw_testcase.py +++ b/python/samba/tests/dcerpc/raw_testcase.py @@ -18,7 +18,6 @@ import sys import socket -import struct import samba.dcerpc.dcerpc import samba.dcerpc.base import samba.dcerpc.epmapper diff --git a/python/samba/tests/dns_forwarder_helpers/server.py b/python/samba/tests/dns_forwarder_helpers/server.py index a300f0fc823..4292827f4f9 100644 --- a/python/samba/tests/dns_forwarder_helpers/server.py +++ b/python/samba/tests/dns_forwarder_helpers/server.py @@ -19,12 +19,10 @@ # Based on the EchoServer example from python docs from __future__ import print_function import SocketServer -import time import sys from threading import Timer from samba.dcerpc import dns import samba.ndr as ndr -import random import re VERBOSE = False diff --git a/python/samba/tests/kcc/graph.py b/python/samba/tests/kcc/graph.py index 31db853a40f..6565172770d 100644 --- a/python/samba/tests/kcc/graph.py +++ b/python/samba/tests/kcc/graph.py @@ -23,8 +23,6 @@ import samba import samba.tests from samba.kcc.graph import * -import itertools - def ntdsconn_schedule(times): if times is None: diff --git a/python/samba/tests/kcc/ldif_import_export.py b/python/samba/tests/kcc/ldif_import_export.py index 744ecc65e72..5534de32f64 100644 --- a/python/samba/tests/kcc/ldif_import_export.py +++ b/python/samba/tests/kcc/ldif_import_export.py @@ -22,8 +22,6 @@ import samba import os import time -import shutil -import sys import subprocess import logging import samba.tests