unittest throw error positively detecting sha1_crypt & bsdi_crypt on OpenSUSE

Issue #106 new
Eli Collins repo owner created an issue

Received reports of v1.7.1 test failures on OpenSUSE; it looks like recent glibc versions on that OS have added support for sha1_crypt & bsdi_crypt. Next passlib release will update unittest suite to consider these as "potentially supported" under linux.

Traceback follows...

======================================================================
FAIL: test_82_crypt_support
(passlib.tests.test_handlers.bsdi_crypt_os_crypt_test)
bsdi_crypt (os_crypt backend): test platform-specific crypt() support
detection
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/michael/passlib-1.7.1/passlib/tests/utils.py", line
3175, in test_82_crypt_support
    "for %r" % (platform, self.handler.name))
AssertionError: did not expect 'linux2' platform would have native
support for 'bsdi_crypt'

======================================================================
FAIL: test_82_crypt_support
(passlib.tests.test_handlers.sha1_crypt_os_crypt_test)
sha1_crypt (os_crypt backend): test platform-specific crypt() support
detection
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/michael/passlib-1.7.1/passlib/tests/utils.py", line
3175, in test_82_crypt_support
    "for %r" % (platform, self.handler.name))
AssertionError: did not expect 'linux2' platform would have native
support for 'sha1_crypt'

----------------------------------------------------------------------

Comments (0)

  1. Log in to comment