mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
lib:ldb:tests: Remove explicit comparison with False
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
84dc7129ea
commit
e4ab1de4e4
@ -1724,7 +1724,7 @@ class SearchTests(LdbBaseTest):
|
||||
if hasattr(self, 'disallowDNFilter') and \
|
||||
hasattr(self, 'IDX') and \
|
||||
(hasattr(self, 'IDXGUID') or
|
||||
((hasattr(self, 'IDXONE') == False and hasattr(self, 'IDX')))):
|
||||
((not hasattr(self, 'IDXONE') and hasattr(self, 'IDX')))):
|
||||
self.assertEqual(len(res11), 0)
|
||||
else:
|
||||
self.assertEqual(len(res11), 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user