summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/drs/python/delete_object.py2
-rw-r--r--source4/torture/drs/python/fsmo.py2
-rw-r--r--source4/torture/drs/python/repl_schema.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/drs/python/delete_object.py b/source4/torture/drs/python/delete_object.py
index ccc412e171..c52060f943 100644
--- a/source4/torture/drs/python/delete_object.py
+++ b/source4/torture/drs/python/delete_object.py
@@ -30,7 +30,7 @@ import sys
import time
import os
-sys.path.append("bin/python")
+sys.path.insert(0, "bin/python")
from ldb import (
SCOPE_BASE,
diff --git a/source4/torture/drs/python/fsmo.py b/source4/torture/drs/python/fsmo.py
index 4dc573b89c..d7b3c1671d 100644
--- a/source4/torture/drs/python/fsmo.py
+++ b/source4/torture/drs/python/fsmo.py
@@ -29,7 +29,7 @@ import sys
import time
import os
-sys.path.append("bin/python")
+sys.path.insert(0, "bin/python")
from ldb import SCOPE_BASE
diff --git a/source4/torture/drs/python/repl_schema.py b/source4/torture/drs/python/repl_schema.py
index a98452ed13..db14c37adf 100644
--- a/source4/torture/drs/python/repl_schema.py
+++ b/source4/torture/drs/python/repl_schema.py
@@ -32,7 +32,7 @@ import time
import random
import os
-sys.path.append("bin/python")
+sys.path.insert(0, "bin/python")
import samba
samba.ensure_external_module("testtools", "testtools")
samba.ensure_external_module("subunit", "subunit/python")