selftest: Use self.runsubcmd() to run samba-tool for _test_force_demote in ridalloc_e...
authorAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jul 2017 03:05:08 +0000 (15:05 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 27 Jul 2017 22:25:14 +0000 (00:25 +0200)
commit6a75d4a8cf3faa2d81835abae6c5a58246fa12b0
tree31032c683977b9e299e45d64d83fcd2a90c92342
parent37cf29ef7dcad72f606b293aba59f8293d7a8ae2
selftest: Use self.runsubcmd() to run samba-tool for _test_force_demote in ridalloc_exop.py

This is the standard way to run samba-tool from in the test scripts and allows
assertion that the command ran as expected

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/torture/drs/python/ridalloc_exop.py