[Zope3-dev] testFactory fails
Jeremy Hylton
jeremy@zope.com
Mon, 04 Mar 2002 15:01:59 -0500 (EST)
With the latest CVS, I see the following error:
======================================================================
ERROR: testFactory (Zope.ComponentArchitecture.tests.testDirectives.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/tests/testDirectives.py", line 166, in testFactory
xmlconfig(StringIO(template % (
File "/home/jeremy/src/Zope3/lib/python/Zope/Configuration/xmlconfig.py", line 155, in xmlconfig
parser.parse(src)
File "/usr/local/lib/python2.3/xml/sax/expatreader.py", line 53, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/lib/python2.3/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/local/lib/python2.3/xml/sax/expatreader.py", line 106, in feed
self._parser.Parse(data, isFinal)
File "/usr/local/lib/python2.3/xml/sax/expatreader.py", line 203, in start_element_ns
AttributesNSImpl(newattrs, {}))
File "/home/jeremy/src/Zope3/lib/python/Zope/Configuration/xmlconfig.py", line 88, in startElementNS
stack.append(begin(self.__directives, name, **kw))
File "/home/jeremy/src/Zope3/lib/python/Zope/Configuration/meta.py", line 54, in begin
return _exe(callable, subs, kw)
File "/home/jeremy/src/Zope3/lib/python/Zope/Configuration/meta.py", line 38, in _exe
r = callable(**kw)
File "/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/metaConfigure.py", line 44, in factory
component = resolve(component)
File "/home/jeremy/src/Zope3/lib/python/Zope/Configuration/name.py", line 33, in resolve
m=__import__(mod, _globals, _globals, _silly)
ZopeXMLConfigurationError:
ImportError: No module named TestFactory
at line 9 column 12 of <string>
----------------------------------------------------------------------
Ran 1 tests in 0.059s
FAILED (errors=1)
Jeremy