diff options
| author | Jelmer Vernooij <jelmer@samba.org> | 2014-11-04 20:37:41 +0000 |
|---|---|---|
| committer | Jelmer Vernooij <jelmer@samba.org> | 2014-11-30 20:54:03 +0100 |
| commit | 7dbc58f524fbde517966d671da138b69566929d7 (patch) | |
| tree | 3eeb2963d4de9f34b99f43d2bc4706dba993e679 /source4/dsdb/tests/python | |
| parent | 4323504921ff0a566c43dada90443bdad3162f9b (diff) | |
| download | samba-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-x | source4/dsdb/tests/python/dsdb_schema_info.py | 3 |
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 |
