Reduce number of places where sys.path is (possibly) updated for external module...
[obnox/samba/samba-obnox.git] / source4 / dsdb / tests / python / dsdb_schema_info.py
index 28fce1b00f4a39d9a0890e42c75167b6f2656ac8..8f64f1063c07d4ba26ab3c516f8e06c635d60dfe 100755 (executable)
@@ -30,8 +30,7 @@ import time
 import random
 
 sys.path.insert(0, "bin/python")
-import samba
-samba.ensure_external_module("testtools", "testtools")
+import samba.tests
 
 from ldb import SCOPE_BASE, LdbError