diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/drs/python/delete_object.py | 4 | ||||
-rw-r--r-- | source4/torture/drs/python/repl_schema.py | 7 | ||||
-rw-r--r-- | source4/torture/drs/python/replica_sync.py | 14 |
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 |