Hi all
I am attempting to replace a bug in plone.app.iterate in a unit test so I can more accurate report the issue with a test alongside it.
I've tried various things to get the unit test suite running in nose but I'm faced with various errors along the way.
Just running 'python setup.py' test claims to be running tests but even adding a failure into a test doesn't do anything.
git clone GitHub - plone/plone.app.iterate: Checkin/ checkout procedure for content editing (working copy) for Plone
cd plone.app.iterate/
virtualenv ~/pythons/p.a.iterate
~/pythons/p.a.iterate/bin/python setup.py test
~/pythons/p.a.iterate/bin/pip install nose
~/plone.app.iterate$ ~/pythons/p.a.iterate/bin/nosetests
EERROR: Failure: ImportError (No module named zope.i18nmessageid)
Traceback (most recent call last):
File "/home/neil/pythons/p.a.iterate/local/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/home/neil/pythons/p.a.iterate/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/neil/pythons/p.a.iterate/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/neil/plone.app.iterate/plone/app/iterate/init.py", line 26, in
from zope.i18nmessageid import MessageFactory
ImportError: No module named zope.i18nmessageid
Ran 1 test in 0.004s
FAILED (errors=1)
Anyone have any ideas for me on this?
Thanks