mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
s4:dsdb:tests: Remove unused imports
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
39a4d27a83
commit
079306cf34
@ -35,8 +35,8 @@ except ImportError:
|
||||
from samba.samdb import SamDB
|
||||
from samba.auth import system_session
|
||||
from ldb import Message, MessageElement, Dn, LdbError
|
||||
from ldb import FLAG_MOD_ADD, FLAG_MOD_REPLACE, FLAG_MOD_DELETE
|
||||
from ldb import SCOPE_BASE, SCOPE_SUBTREE, SCOPE_ONELEVEL
|
||||
from ldb import FLAG_MOD_ADD, FLAG_MOD_DELETE
|
||||
from ldb import SCOPE_BASE, SCOPE_SUBTREE
|
||||
from ldb import ERR_NO_SUCH_OBJECT
|
||||
|
||||
parser = optparse.OptionParser("ad_dc_medley_performance.py [options] <host>")
|
||||
|
@ -34,8 +34,8 @@ except ImportError:
|
||||
from samba.samdb import SamDB
|
||||
from samba.auth import system_session
|
||||
from ldb import Message, MessageElement, Dn, LdbError
|
||||
from ldb import FLAG_MOD_ADD, FLAG_MOD_REPLACE, FLAG_MOD_DELETE
|
||||
from ldb import SCOPE_BASE, SCOPE_SUBTREE, SCOPE_ONELEVEL
|
||||
from ldb import FLAG_MOD_ADD, FLAG_MOD_DELETE
|
||||
from ldb import SCOPE_SUBTREE
|
||||
|
||||
parser = optparse.OptionParser("ad_dc_performance.py [options] <host>")
|
||||
sambaopts = options.SambaOptions(parser)
|
||||
|
@ -9,13 +9,9 @@ import os
|
||||
import samba
|
||||
import samba.getopt as options
|
||||
import random
|
||||
import tempfile
|
||||
import shutil
|
||||
import time
|
||||
import itertools
|
||||
|
||||
from samba.netcmd.main import cmd_sambatool
|
||||
|
||||
# We try to use the test infrastructure of Samba 4.3+, but if it
|
||||
# doesn't work, we are probably in a back-ported patch and trying to
|
||||
# run on 4.1 or something.
|
||||
@ -35,8 +31,8 @@ except ImportError:
|
||||
from samba.samdb import SamDB
|
||||
from samba.auth import system_session
|
||||
from ldb import Message, MessageElement, Dn, LdbError
|
||||
from ldb import FLAG_MOD_ADD, FLAG_MOD_REPLACE, FLAG_MOD_DELETE
|
||||
from ldb import SCOPE_BASE, SCOPE_SUBTREE, SCOPE_ONELEVEL
|
||||
from ldb import FLAG_MOD_ADD
|
||||
from ldb import SCOPE_SUBTREE
|
||||
|
||||
parser = optparse.OptionParser("ad_dc_search_performance.py [options] <host>")
|
||||
sambaopts = options.SambaOptions(parser)
|
||||
|
Loading…
Reference in New Issue
Block a user