python/samba/tests: Port samba.tests.blackbox.samba_dnsupdate for PY2/PY3
authorNoel Power <noel.power@suse.com>
Tue, 30 Oct 2018 13:25:59 +0000 (13:25 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 14 Nov 2018 04:07:16 +0000 (05:07 +0100)
commit108109360a5b8ca45b8bf0eef020fe001af61d1d
tree01e75a1ea0d5e95850dede628ff4efb45a21941d
parent0ef6e3da4b6dd8e36ced3ad344f9981901aaa2f2
python/samba/tests: Port samba.tests.blackbox.samba_dnsupdate for PY2/PY3

Make sure either the output of tests and/or the item we are searching match
in type. Output of cmd in python3 is bytes, depending on the was the test is
written it may be easier just to convert all output or just a single string
that is used in the test

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/blackbox/samba_dnsupdate.py