]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
py/tests: remove unused imports
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 11 Oct 2018 03:50:49 +0000 (16:50 +1300)
committerNoel Power <npower@samba.org>
Thu, 25 Oct 2018 19:45:55 +0000 (21:45 +0200)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
python/samba/tests/dcerpc/raw_testcase.py
python/samba/tests/dns_forwarder_helpers/server.py
python/samba/tests/kcc/graph.py
python/samba/tests/kcc/ldif_import_export.py

index c4d364128b38fa5f2fbc092a243d6c1c6cb20a95..fd004226c31ce7e0a56d02c756d42d6a1b8931d0 100644 (file)
@@ -18,7 +18,6 @@
 
 import sys
 import socket
-import struct
 import samba.dcerpc.dcerpc
 import samba.dcerpc.base
 import samba.dcerpc.epmapper
index a300f0fc8235aff888e410ddd65721b598ee6a69..4292827f4f916a6066c350611c44f1cbfcdcbf8d 100644 (file)
 # 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
index 31db853a40fb7fb5cd7045dd6189c71db18d11a6..6565172770d13f836484cf77b08fa9a9c7d4dabe 100644 (file)
@@ -23,8 +23,6 @@ import samba
 import samba.tests
 from samba.kcc.graph import *
 
-import itertools
-
 
 def ntdsconn_schedule(times):
     if times is None:
index 744ecc65e722a1979f75618d845d889a1e2c9408..5534de32f64a1245365df7ac7132cfaa83be4bf5 100644 (file)
@@ -22,8 +22,6 @@
 import samba
 import os
 import time
-import shutil
-import sys
 import subprocess
 import logging
 import samba.tests