linked attribute tests: fix logic for add test
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Tue, 24 Oct 2017 23:17:05 +0000 (12:17 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 25 Oct 2017 23:32:14 +0000 (01:32 +0200)
commitb6294c84a53dea5ac13c4ef72017483254739271
tree881adbb1edbeeab92c98e6aa3d0ea86503f41891
parent7cf3bbcc5ce9f22e0140fab051b1fe850cf0161d
linked attribute tests: fix logic for add test

We were ensuring that when we got an LdbError it was the right type,
but we weren't ensuring we got one at all.

The new test doesn't fail.

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