summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/python/dsdb_schema_info.py
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-06-30 10:57:37 +0200
committerStefan Metzmacher <metze@samba.org>2010-06-30 10:59:57 +0200
commit19d93c6a1e810dbd634f35cf440412c1ff958448 (patch)
tree4f781a9c3e45ec1c7534b6fe45fc70dde6a81df6 /source4/lib/ldb/tests/python/dsdb_schema_info.py
parent45fc7284982f3d6d3f5757f2e7336c878c4a6519 (diff)
downloadsamba-19d93c6a1e810dbd634f35cf440412c1ff958448.tar.gz
samba-19d93c6a1e810dbd634f35cf440412c1ff958448.tar.bz2
samba-19d93c6a1e810dbd634f35cf440412c1ff958448.zip
s4:ldb/python: make it possible to run tests standalone
metze
Diffstat (limited to 'source4/lib/ldb/tests/python/dsdb_schema_info.py')
-rwxr-xr-xsource4/lib/ldb/tests/python/dsdb_schema_info.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/ldb/tests/python/dsdb_schema_info.py b/source4/lib/ldb/tests/python/dsdb_schema_info.py
index 7a3faba459..ff3c7f9b98 100755
--- a/source4/lib/ldb/tests/python/dsdb_schema_info.py
+++ b/source4/lib/ldb/tests/python/dsdb_schema_info.py
@@ -31,6 +31,9 @@ import random
import os
sys.path.append("bin/python")
+import samba
+samba.ensure_external_module("subunit", "subunit/python")
+samba.ensure_external_module("testtools", "testtools")
from samba.auth import system_session
from ldb import SCOPE_BASE, LdbError