From 1cf1e6889e502244d83c8bc13a38f1c8e5b75d7f Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Tue, 7 Mar 2023 13:44:17 +1300 Subject: [PATCH] s4-dsdb:large_ldap: Correctly increment count variable Signed-off-by: Joseph Sutton Reviewed-by: Andreas Schneider --- source4/dsdb/tests/python/large_ldap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/dsdb/tests/python/large_ldap.py b/source4/dsdb/tests/python/large_ldap.py index 2ae5656fb4e..89433a02863 100644 --- a/source4/dsdb/tests/python/large_ldap.py +++ b/source4/dsdb/tests/python/large_ldap.py @@ -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)