tests: Add test-case for restore into non-default site
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 18 Sep 2018 05:23:48 +0000 (17:23 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 26 Sep 2018 05:49:17 +0000 (07:49 +0200)
commitad69aaf7e13435111fc990954ff0bc81ed5325c5
treea8a8c3f31ef810ff1e543de08215ab170ecd9441
parente1f255a4d54b59924295ea875fdef62ccebb8811
tests: Add test-case for restore into non-default site

Add a test-case that exercises the new '--site' restore option and
ensures the restored DC gets added to the correct site.

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

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