summaryrefslogtreecommitdiffstats
path: root/source4/dsdb/tests/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2014-11-04 20:37:41 +0000
committerJelmer Vernooij <jelmer@samba.org>2014-11-30 20:54:03 +0100
commit7dbc58f524fbde517966d671da138b69566929d7 (patch)
tree3eeb2963d4de9f34b99f43d2bc4706dba993e679 /source4/dsdb/tests/python
parent4323504921ff0a566c43dada90443bdad3162f9b (diff)
downloadsamba-7dbc58f524fbde517966d671da138b69566929d7.tar.gz
samba-7dbc58f524fbde517966d671da138b69566929d7.tar.xz
samba-7dbc58f524fbde517966d671da138b69566929d7.zip
Reduce number of places where sys.path is (possibly) updated for external module paths.
Change-Id: I69d060f27ea090d14405e884d1ce271975358c56 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sun Nov 30 20:54:04 CET 2014 on sn-devel-104
Diffstat (limited to 'source4/dsdb/tests/python')
-rwxr-xr-xsource4/dsdb/tests/python/dsdb_schema_info.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/dsdb/tests/python/dsdb_schema_info.py b/source4/dsdb/tests/python/dsdb_schema_info.py
index 28fce1b00f..8f64f1063c 100755
--- a/source4/dsdb/tests/python/dsdb_schema_info.py
+++ b/source4/dsdb/tests/python/dsdb_schema_info.py
@@ -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