summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2011-02-22 04:38:12 +0200
committerKamen Mazdrashki <kamenim@samba.org>2011-02-27 00:23:20 +0200
commit375eddc15e20a1a2cbaa5bd53962b0206ca7cef3 (patch)
tree07d622f16b44af02bb11febb6f7a48a861e466bf
parent62a6b754828e8e825b9ee732defc6b3855e06489 (diff)
downloadsamba-375eddc15e20a1a2cbaa5bd53962b0206ca7cef3.tar.gz
samba-375eddc15e20a1a2cbaa5bd53962b0206ca7cef3.tar.bz2
samba-375eddc15e20a1a2cbaa5bd53962b0206ca7cef3.zip
s4/drs-test: Remove unused imports
-rw-r--r--source4/torture/drs/python/delete_object.py4
-rw-r--r--source4/torture/drs/python/repl_schema.py7
-rw-r--r--source4/torture/drs/python/replica_sync.py14
3 files changed, 0 insertions, 25 deletions
diff --git a/source4/torture/drs/python/delete_object.py b/source4/torture/drs/python/delete_object.py
index df8d04cb83..0f56fa81ef 100644
--- a/source4/torture/drs/python/delete_object.py
+++ b/source4/torture/drs/python/delete_object.py
@@ -26,14 +26,10 @@
# PYTHONPATH="$PYTHONPATH:$samba4srcdir/torture/drs/python" $SUBUNITRUN delete_object -U"$DOMAIN/$DC_USERNAME"%"$DC_PASSWORD"
#
-import sys
import time
-import os
-sys.path.insert(0, "bin/python")
from ldb import (
- SCOPE_BASE,
SCOPE_SUBTREE
)
diff --git a/source4/torture/drs/python/repl_schema.py b/source4/torture/drs/python/repl_schema.py
index 4a8a5be0ec..166a0eb77f 100644
--- a/source4/torture/drs/python/repl_schema.py
+++ b/source4/torture/drs/python/repl_schema.py
@@ -27,15 +27,8 @@
# PYTHONPATH="$PYTHONPATH:$samba4srcdir/torture/drs/python" $SUBUNITRUN repl_schema -U"$DOMAIN/$DC_USERNAME"%"$DC_PASSWORD"
#
-import sys
import time
import random
-import os
-
-sys.path.insert(0, "bin/python")
-import samba
-samba.ensure_external_module("testtools", "testtools")
-samba.ensure_external_module("subunit", "subunit/python")
from ldb import (
ERR_NO_SUCH_OBJECT,
diff --git a/source4/torture/drs/python/replica_sync.py b/source4/torture/drs/python/replica_sync.py
index 06502d6008..ddeb5822f5 100644
--- a/source4/torture/drs/python/replica_sync.py
+++ b/source4/torture/drs/python/replica_sync.py
@@ -27,23 +27,9 @@
# PYTHONPATH="$PYTHONPATH:$samba4srcdir/torture/drs/python" $SUBUNITRUN replica_sync -U"$DOMAIN/$DC_USERNAME"%"$DC_PASSWORD"
#
-import sys
-import time
-import random
-import os
-
import drs_base
import samba.tests
-from ldb import (
- ERR_NO_SUCH_OBJECT,
- LdbError,
- SCOPE_BASE,
- Message,
- FLAG_MOD_ADD,
- FLAG_MOD_REPLACE,
- )
-
class DrsReplicaSyncTestCase(drs_base.DrsBaseTestCase):
"""Intended as a black box test case for DsReplicaSync