[Bug 543618] [NEW] test breaks if existing mailman.cfg is found

Patrick Ben Koetter p at state-of-mind.de
Sun Mar 21 19:18:21 CET 2010

Public bug reported:

The test program reports an error if it detects an existing mailman.cfg:

Failure in test test_current_working_directory (mailman.tests.test_configfile.TestConfigFileSearch)
Traceback (most recent call last):
  File "/usr/lib/python2.6/unittest.py", line 279, in run
  File "/root/mailman/src/mailman/tests/test_configfile.py", line 107, in test_current_working_directory
    self.assertEqual(found, config_file)
  File "/usr/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: '/etc/mailman.cfg' != u'/tmp/tmpVfAIyB/home/alex/mailman/hacking/mailman.cfg'

I believe it should not do this. It should either silently ignore the
difference or use the test mailman.cfg or ... but not break.

** Affects: mailman
     Importance: Undecided
         Status: New

** Tags: 3.0 mailman

test breaks if existing mailman.cfg is found
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.

More information about the Mailman-coders mailing list