Test failure on Windows when crypt or passlib is not installed
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:
|
Fixed test failures on Windows when fcrypt (Trac 1.0) or passlib (Trac 1.2) were not installed.
|
API Changes:
|
|
Internal Changes:
|
|
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
(7)
Release Notes: |
modified (diff)
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Description: |
modified (diff)
|
Proposed changes in: