From: Lumir Balhar Date: Sat, 10 Dec 2016 14:11:14 +0000 (+0100) Subject: python: samba.tests: Enable Python 3 tests for ported modules X-Git-Tag: tdb-1.3.13~569 X-Git-Url: http://git.samba.org/samba.git/?p=nivanova%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=5edb0b4ebd599ae83cebf591cc7f05a60f635a93 python: samba.tests: Enable Python 3 tests for ported modules Enable tests with Python 3 for Python 3 compatible modules. Signed-off-by: Lumir Balhar Reviewed-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- diff --git a/selftest/tests.py b/selftest/tests.py index 103508bdddb..77a17a0279e 100644 --- a/selftest/tests.py +++ b/selftest/tests.py @@ -52,14 +52,14 @@ 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") +planpythontestsuite("none", "samba.tests.credentials", py3_compatible=True) planpythontestsuite("none", "samba.tests.registry") planpythontestsuite("none", "samba.tests.auth") planpythontestsuite("none", "samba.tests.get_opt") planpythontestsuite("none", "samba.tests.security") planpythontestsuite("none", "samba.tests.dcerpc.misc") planpythontestsuite("none", "samba.tests.dcerpc.integer") -planpythontestsuite("none", "samba.tests.param") +planpythontestsuite("none", "samba.tests.param", py3_compatible=True) planpythontestsuite("none", "samba.tests.upgrade") planpythontestsuite("none", "samba.tests.core") planpythontestsuite("none", "samba.tests.provision") @@ -134,6 +134,7 @@ plantestsuite( "script.traffic_summary", "none", [os.path.join(srcdir(), "script/tests/test_traffic_summary.sh"), configuration]) +planpythontestsuite("none", "samba.tests.glue", py3_compatible=True) if with_cmocka: plantestsuite("samba.unittests.krb5samba", "none",