From 7dbc58f524fbde517966d671da138b69566929d7 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 4 Nov 2014 20:37:41 +0000 Subject: Reduce number of places where sys.path is (possibly) updated for external module paths. Change-Id: I69d060f27ea090d14405e884d1ce271975358c56 Signed-Off-By: Jelmer Vernooij Reviewed-by: Andrew Bartlett Autobuild-User(master): Jelmer Vernooij Autobuild-Date(master): Sun Nov 30 20:54:04 CET 2014 on sn-devel-104 --- source4/dsdb/tests/python/dsdb_schema_info.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4/dsdb/tests/python') 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 -- cgit