python: selftesthelpers: Add possibility for planning tests for
authorLumir Balhar <lbalhar@redhat.com>
Wed, 19 Oct 2016 18:51:47 +0000 (20:51 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 1 Dec 2016 04:54:21 +0000 (05:54 +0100)
commit8f8b0fd12a72630d6340ad976eccb431d265e4d0
treeb1a12f9bfb197efc8f6d61ad66014da3bcfee3aa
parent358eaf810edd59cb16e95d77967a7b37ecf6bb94
python: selftesthelpers: Add possibility for planning tests for
'extra_python' (Python 3).

This change allows us to mark modules which are Python 3 compatible
with the keyword argument `py3_compatible`. Then, if building with
Python 3 is configured using --extra-python, `planpythontestsuite`
will plan an extra Python test for each marked module.

Signed-off-by: Lumir Balhar <lbalhar@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
selftest/selftesthelpers.py