tests: Avoid hardcoding domain in GPO tests
authorTim Beale <timbeale@catalyst.net.nz>
Thu, 13 Dec 2018 20:50:02 +0000 (09:50 +1300)
committerTim Beale <timbeale@samba.org>
Mon, 7 Jan 2019 21:48:29 +0000 (22:48 +0100)
commit5a6fcdd8feea3505407b5130174ff3547a88915d
tree684d23ab74570b88c08d18b74b32639e1360c940
parentaf1fe6fdd95153dd74415a4d20b3c3cd428bd16d
tests: Avoid hardcoding domain in GPO tests

The realm varies by testenv. Currently the GPO tests will only run on
the ad_dc testenv.

A slightly better solution is to use the REALM environmental variable,
so that the test can run on any testenv.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13676

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/tests/gpo.py