1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s4-dsdb:large_ldap: Correctly increment count variable

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Joseph Sutton 2023-03-07 13:44:17 +13:00 committed by Andreas Schneider
parent 911f607ecd
commit 1cf1e6889e

View File

@ -250,7 +250,7 @@ class LargeLDAPTest(samba.tests.TestCase):
try:
for reply in search1:
self.assertIsInstance(reply, ldb.Message)
count_jpeg =+ 1
count_jpeg += 1
except LdbError as err:
enum = err.args[0]
self.assertEqual(enum, ldb.ERR_SIZE_LIMIT_EXCEEDED)