diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-06-30 10:57:37 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-06-30 10:59:57 +0200 |
commit | 19d93c6a1e810dbd634f35cf440412c1ff958448 (patch) | |
tree | 4f781a9c3e45ec1c7534b6fe45fc70dde6a81df6 /source4/lib/ldb/tests/python/urgent_replication.py | |
parent | 45fc7284982f3d6d3f5757f2e7336c878c4a6519 (diff) | |
download | samba-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/urgent_replication.py')
-rwxr-xr-x | source4/lib/ldb/tests/python/urgent_replication.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/ldb/tests/python/urgent_replication.py b/source4/lib/ldb/tests/python/urgent_replication.py index 26f7d9b46d..5e9f4ad128 100755 --- a/source4/lib/ldb/tests/python/urgent_replication.py +++ b/source4/lib/ldb/tests/python/urgent_replication.py @@ -6,8 +6,9 @@ import sys import os sys.path.append("bin/python") -sys.path.append("../lib/subunit/python") -sys.path.append("../lib/testtools") +import samba +samba.ensure_external_module("subunit", "subunit/python") +samba.ensure_external_module("testtools", "testtools") import samba.getopt as options |