1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-28 11:42:03 +03:00

samba.tests: Make sure testtools is available before importing it.

This commit is contained in:
Jelmer Vernooij
2011-11-17 02:30:38 +01:00
parent f50aa988c2
commit 1214e5f23d

View File

@ -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,