summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/python/urgent_replication.py
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/tests/python/urgent_replication.py')
-rwxr-xr-xsource4/lib/ldb/tests/python/urgent_replication.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/ldb/tests/python/urgent_replication.py b/source4/lib/ldb/tests/python/urgent_replication.py
index 26f7d9b46d..5e9f4ad128 100755
--- a/source4/lib/ldb/tests/python/urgent_replication.py
+++ b/source4/lib/ldb/tests/python/urgent_replication.py
@@ -6,8 +6,9 @@ import sys
import os
sys.path.append("bin/python")
-sys.path.append("../lib/subunit/python")
-sys.path.append("../lib/testtools")
+import samba
+samba.ensure_external_module("subunit", "subunit/python")
+samba.ensure_external_module("testtools", "testtools")
import samba.getopt as options