Opened 8 years ago
Last modified 8 years ago
#12448 closed defect
Test failure on Windows when crypt or passlib is not installed — at Initial Version
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.11 |
Component: | web frontend | Version: | |
Severity: | normal | Keywords: | tests |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
On 1.0-stable:
(pve) C:\Users\Ryan Ollos\Documents\Workspace\Trac\trac-1.0-stable>python trac/w eb/tests/auth.py SKIP: fine-grained permission tests (ConfigObj not installed) .............Warning: cannot parse password for user "crypt" without the "crypt" module FWarning: cannot parse password for user "crypt" without the "crypt" module .Warning: cannot parse password for user "crypt" without the "crypt" module . ====================================================================== FAIL: test_crypt (__main__.BasicAuthenticationTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "trac/web/tests/auth.py", line 208, in test_crypt self.assertTrue(self.auth.test('crypt', 'crypt')) AssertionError: False is not true ---------------------------------------------------------------------- Ran 16 tests in 0.078s FAILED (failures=1)
On trunk:
(pve) C:\Users\Ryan Ollos\Documents\Workspace\Trac\trac-trunk>python trac/web/te sts/auth.py .............Warning: cannot parse password for user "crypt" without the "crypt" module. Install the passlib package from PyPI FWarning: cannot parse password for user "crypt" without the "crypt" module. Ins tall the passlib package from PyPI .Warning: cannot parse password for user "crypt" without the "crypt" module. Ins tall the passlib package from PyPI . ====================================================================== FAIL: test_crypt (__main__.BasicAuthenticationTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "trac/web/tests/auth.py", line 159, in test_crypt self.assertTrue(self.auth.test('crypt', 'crypt')) AssertionError: False is not true ---------------------------------------------------------------------- Ran 16 tests in 0.093s FAILED (failures=1)
Change History (2)
by , 8 years ago
Attachment: | t12248_1.0-stable.diff added |
---|
by , 8 years ago
Attachment: | t12248_trunk.diff added |
---|
Note:
See TracTickets
for help on using tickets.