Files
python-ldap3/skip-missing-LDAP-server.patch
Markéta Machová 79506aaacc Accepting request 867413 from home:mcalabkova:branches:devel:languages:python
- Update to 2.9
  * SafeSync strategy (SAFE_SYNC) for using a synchronous Connection 
    object in a multi-threading program
  * try to use Crypto library if present for hashing NTLM password 
    on python interpreter missing the MD4 OpenSSL algorithm
  * SafeRestartable strategy (SAFE_RESTARTABLE) for using a restartable 
    Connection object in a multi-threading program
  * many smaller changes and bugfixes
- Rebase skip-missing-LDAP-server.patch
  * suprisingly still needed

OBS-URL: https://build.opensuse.org/request/show/867413
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap3?expand=0&rev=36
2021-01-28 11:26:45 +00:00

14 lines
469 B
Diff

Index: ldap3-2.8/test/config.py
===================================================================
--- ldap3-2.8.orig/test/config.py
+++ ldap3-2.8/test/config.py
@@ -443,7 +443,7 @@ elif location.endswith('-NONE'):
test_logging_filename = 'ldap3-none.log'
test_valid_names = None
else:
- raise Exception('testing location ' + location + ' is not valid')
+ raise SkipTest('testing location ' + location + ' is not valid')
if test_logging:
try: