From ff1bff9e8ba40cdbbbdf5489b3dcad34883f0192 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Thu, 11 Oct 2018 16:50:49 +1300 Subject: [PATCH] py/tests: remove unused imports Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- python/samba/tests/dcerpc/raw_testcase.py | 1 - python/samba/tests/dns_forwarder_helpers/server.py | 2 -- python/samba/tests/kcc/graph.py | 2 -- python/samba/tests/kcc/ldif_import_export.py | 2 -- 4 files changed, 7 deletions(-) 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 -- 2.11.4.GIT