Skip to content

Commit e595f43

Browse files
jirutkamistotebe
authored andcommitted
Fix wrong asserts in test_test_flags
Introduced in c5ad802
1 parent d7b65a7 commit e595f43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/t_cext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,11 @@ def test_test_flags(self):
234234
if 'TLS' in disabled:
235235
self.assertFalse(_ldap.TLS_AVAIL)
236236
else:
237-
self.assertFalse(_ldap.TLS_AVAIL)
237+
self.assertTrue(_ldap.TLS_AVAIL)
238238
if 'SASL' in disabled:
239239
self.assertFalse(_ldap.SASL_AVAIL)
240240
else:
241-
self.assertFalse(_ldap.SASL_AVAIL)
241+
self.assertTrue(_ldap.SASL_AVAIL)
242242

243243
def test_simple_bind(self):
244244
l = self._open_conn()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy