mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +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 subprocess
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|
||||||
|
samba.ensure_external_module("testtools", "testtools")
|
||||||
|
|
||||||
# Other modules import these two classes from here, for convenience:
|
# Other modules import these two classes from here, for convenience:
|
||||||
from testtools.testcase import (
|
from testtools.testcase import (
|
||||||
TestCase as TesttoolsTestCase,
|
TestCase as TesttoolsTestCase,
|
||||||
|
Reference in New Issue
Block a user