summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Pevec <apevec@redhat.com>2019-07-11 14:30:18 +0200
committerAlan Pevec <apevec@redhat.com>2019-07-11 14:30:18 +0200
commitd484e37816e0dcd9ad472bb12394b7a268e97255 (patch)
tree8b9ea8aa39ae8a12067c02ae816e6df1446d9260
parentcae7405b781ed3aebd7cd145889c683cc1b35bf8 (diff)
downloadpasslib-d484e37816e0dcd9ad472bb12394b7a268e97255.tar.gz
Fix testsuite on Linux
crypt support may be present in libxcrypt Author: Björn Esser <besser82@fedoraproject.org> Date: Wed Mar 13 10:02:43 2019 +0100 https://src.fedoraproject.org/rpms/python-passlib/c/29e9641462291e812d7eb50d402e1b3a74c7a95e
-rw-r--r--passlib/tests/test_handlers.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/passlib/tests/test_handlers.py b/passlib/tests/test_handlers.py
index 718eb40..20a1c54 100644
--- a/passlib/tests/test_handlers.py
+++ b/passlib/tests/test_handlers.py
@@ -176,7 +176,8 @@ class _bsdi_crypt_test(HandlerCase):
platform_crypt_support = [
("freebsd|openbsd|netbsd|darwin", True),
- ("linux|solaris", False),
+ ("solaris", False),
+ # linux - may be present in libxcrypt
]
def test_77_fuzz_input(self, **kwds):
@@ -1253,7 +1254,8 @@ class _sha1_crypt_test(HandlerCase):
platform_crypt_support = [
("netbsd", True),
- ("freebsd|openbsd|linux|solaris|darwin", False),
+ ("freebsd|openbsd|solaris|darwin", False),
+ # linux - may be present in libxcrypt
]
# create test cases for specific backends