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:
@ -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,
|
||||
|
Reference in New Issue
Block a user