In a branch that recently merged lp:launchpad/devel, after doing
update-source code; make clean; make; I get the error below.
To me, it does seem reasonable that it fails because there are no
symbols defined in lib/mailman/Mailman/Handlers/__init__.py, it's just
a placeholder. Perhaps it is counting on some other code to poke
something into it and this creates an ordering dependency in the
tests?
I see there is
./lib/lp/services/mailman/monkeypatches/__init__.py:
('LPModerate', 'lpmoderate'),
and probably these tests depend on the monkeypatches happening first
in the same python process?
--
Martin
m...@lp-lucid% ./bin/test -t mail
Test-module import failures:
Module: lp.services.mailman.tests.test_lpmoderate
Traceback (most recent call last):
File
"/home/mbp/launchpad/lp-branches/work/lib/lp/scripts/utilities/importfascist.py",
line 190, in import_fascist
module = original_import(name, globals, locals, fromlist, level)
File
"/home/mbp/launchpad/lp-branches/work/lib/lp/services/mailman/tests/test_lpmoderate.py",
line 9, in <module>
from Mailman.Handlers import LPModerate
ImportError: cannot import name LPModerate
Module: lp.services.mailman.tests.test_mailman
Traceback (most recent call last):
File
"/home/mbp/launchpad/lp-branches/work/lib/lp/scripts/utilities/importfascist.py",
line 190, in import_fascist
module = original_import(name, globals, locals, fromlist, level)
File
"/home/mbp/launchpad/lp-branches/work/lib/lp/services/mailman/tests/test_mailman.py",
line 28, in <module>
from lp.services.mailman.testing import helpers
File
"/home/mbp/launchpad/lp-branches/work/lib/lp/scripts/utilities/importfascist.py",
line 190, in import_fascist
module = original_import(name, globals, locals, fromlist, level)
File
"/home/mbp/launchpad/lp-branches/work/lib/lp/services/mailman/testing/__init__.py",
line 19, in <module>
from Mailman.Queue import XMLRPCRunner
ImportError: cannot import name XMLRPCRunner
_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-dev
More help : https://help.launchpad.net/ListHelp