dsdb.tests.sites: merge interdependent tests
commitf26b227041e90b48c3ad659b461b82fed4fe0bfe
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 16 Sep 2015 23:35:55 +0000 (17 11:35 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 24 Dec 2015 03:09:29 +0000 (24 04:09 +0100)
tree8a4f752c91dd12dd3a10e4136365fd127908dfaa
parentfa2c6685c933e44bd504ff98200dc21d3167285a
dsdb.tests.sites: merge interdependent tests

The delete test deleted the site made by the create test, which worked
because "delete" sorts after "create" alphabetically.  By themselves,
"delete" would fail and "create" would neglect its duty to clean up.
This would be an issue if the order of tests changes, if one of the
tests is not run, or if another test appears in between. Everything is
fine if they give up the pretense of independence.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/tests/python/sites.py