So, in an effort to create some tests for the chameleon.genshi problems
I'm having, I thought I'd run the current tests.
On MacOSX this appears to fail for trunk right now.
What am I doing wrong?
Chris
serato:chameleon chris$ svn info
Path: .
URL: http://svn.repoze.org/chameleon/trunk
Repository Root: http://svn.repoze.org
Repository UUID: 8f1d8bf8-68d2-4fbe-a113-2afb08c80ed9
Revision: 9494
Node Kind: directory
Schedule: normal
Last Changed Author: Wichert Akkerman wich...@wiggy.net
Last Changed Rev: 9493
Last Changed Date: 2010-06-02 13:13:34 +0100 (Wed, 02 Jun 2010)
serato:chameleon chris$ nose --version
-bash: nose: command not found
serato:chameleon chris$ ~/virtualenvs/repoze.bfg/bin/nosetests
.F...FFF.F.F..E
==
ERROR: Failure: ImportError (No module named lxml.builder)
--
Traceback (most recent call last):
File
/Users/chris/virtualenvs/repoze.bfg/lib/python2.6/site-packages/nose-0.11.3-py2.6.egg/nose/loader.py,
line 382, in loadTestsFromName
addr.filename, addr.module)
File
/Users/chris/virtualenvs/repoze.bfg/lib/python2.6/site-packages/nose-0.11.3-py2.6.egg/nose/importer.py,
line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File
/Users/chris/virtualenvs/repoze.bfg/lib/python2.6/site-packages/nose-0.11.3-py2.6.egg/nose/importer.py,
line 86, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File
/Users/chris/LocalSVN/chameleon/src/chameleon/tests/test_i18nize.py,
line 3, in module
from lxml.builder import ElementMaker
ImportError: No module named lxml.builder
==
FAIL: Doctest: template.txt
--
Traceback (most recent call last):
File
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/doctest.py,
line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for template.txt
File
/Users/chris/LocalSVN/chameleon/src/chameleon/core/template.txt, line 0
--
File /Users/chris/LocalSVN/chameleon/src/chameleon/core/template.txt,
line 73, in template.txt
Failed example:
print result
Expected:
html xmlns=http://www.w3.org/1999/xhtml;
div xmlns:test=http://test/ns;
span test:attr=testHello, world!/span
/div
/html
Got:
html xmlns=http://www.w3.org/1999/xhtml;
BLANKLINE
div xmlns:test=http://test/ns;
span test:attr=testHello, world!/span
/div
None
/html
==
FAIL: Doctest: i18n.txt
--
Traceback (most recent call last):
File
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/doctest.py,
line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for i18n.txt
File /Users/chris/LocalSVN/chameleon/src/chameleon/genshi/i18n.txt,
line 0
--
File /Users/chris/LocalSVN/chameleon/src/chameleon/genshi/i18n.txt,
line 16, in i18n.txt
Failed example:
from zope.i18n.simpletranslationdomain import SimpleTranslationDomain
Exception raised:
Traceback (most recent call last):
File
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/doctest.py,
line 1248, in __run
compileflags, 1) in test.globs
File doctest i18n.txt[1], line 1, in module
from zope.i18n.simpletranslationdomain import
SimpleTranslationDomain
ImportError: No module named i18n.simpletranslationdomain
--
File /Users/chris/LocalSVN/chameleon/src/chameleon/genshi/i18n.txt,
line 17, in i18n.txt
Failed example:
td = SimpleTranslationDomain(test, {
(de, test_msgid) : uMock translation of 'test_msgid'.,
(de, msg_id) : uMock translation of 'msg_id'.,
(de, tid): uMock translation of 'tid'.,
(de, aid): uMock translation of 'aid'.,
(de, Default): uMock translation of 'Default'.,
(de, bananas): uMock translation of ${count} bananas.,
(de, two_bananas): uIch will ${bananas} Bananen und
${apples} \xc4pfels.,
(de, month_may) : uMai,
(de, reg; lt;) : uGerman reg; lt;,
(de, The Dutch) : uDie Hollander,
(de, missing_id) : umissing_id,
(nl, size_advise): u${retailer} adviseert u ${size}.,
(nl, size_advise_suggestion): umaat ${size},
})
Exception raised:
Traceback (most recent