tests/ntacls: use global vars to make code DRY
authorJoe Guo <joeg@catalyst.net.nz>
Fri, 1 Jun 2018 02:23:54 +0000 (14:23 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 28 Jun 2018 07:25:09 +0000 (09:25 +0200)
commit3262f01d3667debe1b273f509c92ef55ac024d81
tree0e2576ce43222fd397dc0e73cc5e5b508b42d6cc
parent178c7d4f2b3d904f62525a30c431678bb0ec0230
tests/ntacls: use global vars to make code DRY

Move acl and dommain_sid to global vars so we don't repeat them in every
test.

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/ntacls.py