diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-11-17 02:30:38 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-11-17 07:02:15 +0100 |
commit | 1214e5f23d2c7a79656440f11b9c9b9ac6d78f5c (patch) | |
tree | 491081d97901af58630f7f9e072efe46d48a3175 /source4 | |
parent | f50aa988c201c2fe78e467f1a419bedc741e1d31 (diff) | |
download | samba-1214e5f23d2c7a79656440f11b9c9b9ac6d78f5c.tar.gz samba-1214e5f23d2c7a79656440f11b9c9b9ac6d78f5c.tar.bz2 samba-1214e5f23d2c7a79656440f11b9c9b9ac6d78f5c.zip |
samba.tests: Make sure testtools is available before importing it.
Diffstat (limited to 'source4')
-rw-r--r-- | source4/scripting/python/samba/tests/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/tests/__init__.py b/source4/scripting/python/samba/tests/__init__.py index 58e4130998..ce2572fe8b 100644 --- a/source4/scripting/python/samba/tests/__init__.py +++ b/source4/scripting/python/samba/tests/__init__.py @@ -28,6 +28,8 @@ from samba.samdb import SamDB import subprocess import tempfile +samba.ensure_external_module("testtools", "testtools") + # Other modules import these two classes from here, for convenience: from testtools.testcase import ( TestCase as TesttoolsTestCase, |