diff options
Diffstat (limited to 'selftest/tests.py')
-rw-r--r-- | selftest/tests.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/selftest/tests.py b/selftest/tests.py index e83b2362819..4cd44e348ce 100644 --- a/selftest/tests.py +++ b/selftest/tests.py @@ -37,7 +37,12 @@ if have_man_pages_support: planpythontestsuite("none", "samba.tests.docs") planpythontestsuite("none", "selftest.tests.test_suite", extra_path=[srcdir()]) -planpythontestsuite("none", "subunit") +try: + import testscenarios +except ImportError: + skiptestsuite("subunit", "testscenarios not available") +else: + planpythontestsuite("none", "subunit.tests.test_suite") planpythontestsuite("none", "samba.tests.blackbox.ndrdump") planpythontestsuite("none", "api", name="ldb.python", extra_path=['lib/ldb/tests/python']) planpythontestsuite("none", "samba.tests.credentials") |