test breaks if existing mailman.cfg is found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Committed
|
Medium
|
Barry Warsaw |
Bug Description
The test program reports an error if it detects an existing mailman.cfg:
Failure in test test_current_
Traceback (most recent call last):
File "/usr/lib/
testMethod()
File "/root/
self.
File "/usr/lib/
(msg or '%r != %r' % (first, second))
AssertionError: '/etc/mailman.cfg' != u'/tmp/
I believe it should not do this. It should either silently ignore the difference or use the test mailman.cfg or ... but not break.
Changed in mailman: | |
milestone: | none → 3.0.0a6 |
Do you by any chance have $MAILMAN_ CONFIG_ FILE environment variable set? That's the only way I can see triggering this failure. Still that should not cause test failures because tests should not be dependent on the environment. I'll fix that.