summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/python/deletetest.py
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/tests/python/deletetest.py')
-rwxr-xr-xsource4/lib/ldb/tests/python/deletetest.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/ldb/tests/python/deletetest.py b/source4/lib/ldb/tests/python/deletetest.py
index 55f34fac14..44eb919e09 100755
--- a/source4/lib/ldb/tests/python/deletetest.py
+++ b/source4/lib/ldb/tests/python/deletetest.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")
+samba.ensure_external_module("testtools", "testtools")
import samba.getopt as options