From 5edb0b4ebd599ae83cebf591cc7f05a60f635a93 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Sat, 10 Dec 2016 15:11:14 +0100 Subject: [PATCH] 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 --- selftest/tests.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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", -- 2.34.1