python/samba/tests: Adjust teardown so second run of tests succeeds
authorNoel Power <noel.power@suse.com>
Tue, 14 Aug 2018 10:43:44 +0000 (11:43 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 3 Sep 2018 01:22:25 +0000 (03:22 +0200)
commitc6fd15e2337e821cdb102d08cd889aa11336e145
treebdf99ef86cf1e98b0e7b7c81f55c4e2e5df826f4
parent9df799d1b2c0d1d211b105ac43b8f7332622d547
python/samba/tests: Adjust teardown so second run of tests succeeds

A second run of this test (e.g. with --extra-python) or even
an manual re-run and the cache is still there.
use of '--cache-ldb-initialize'  will fail and so with the test
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/samba_tool/user.py