selftest: enable py3 for samba.tests.kcc.graph
authorJoe Guo <joeg@catalyst.net.nz>
Tue, 3 Apr 2018 23:29:41 +0000 (11:29 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 5 Apr 2018 06:59:10 +0000 (08:59 +0200)
commita5bc4d8c7a4b0d97d54978f37e9fcabfbde1d38b
tree24cc220489644914eafe6dab49a177145fedfa0e
parent5d774fa732ddb0d71b42eed09be041efcc76c6fe
selftest: enable py3 for samba.tests.kcc.graph

In Python 3, range() will not return a list any more.
So `range(7) * 4` will not work.
Convert range to list to fix.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/tests/kcc/graph.py
selftest/tests.py