From: Joseph Sutton Date: Mon, 2 Oct 2023 02:07:16 +0000 (+1300) Subject: python:tests: Correct search expression X-Git-Tag: tevent-0.16.0~22 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7efe6b0ab42f7b6af5c82a8f6d412f9da16a963b;p=thirdparty%2Fsamba.git python:tests: Correct search expression Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/tests/sid_strings.py b/python/samba/tests/sid_strings.py index fa2b84d16ab..9f174bfd2aa 100644 --- a/python/samba/tests/sid_strings.py +++ b/python/samba/tests/sid_strings.py @@ -560,7 +560,7 @@ class SidStringsAsDnInSearchFilter(SidStringBase): try: self.ldb.search(base=basedn, scope=ldb.SCOPE_ONELEVEL, - expression="(distinguishedName=)") + expression=f"(distinguishedName=)") except ldb.LdbError as e: self.fail(f"expected no failure, got {e}")