[Zope-Checkins] CVS: Zope3/lib/python/Zope/Configuration/tests - testDirectivesXML.py:1.1.2.2 testXML.py:1.1.2.6
Jim Fulton
jim@zope.com
Tue, 12 Feb 2002 18:01:35 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/Configuration/tests
In directory cvs.zope.org:/tmp/cvs-serv20274
Modified Files:
Tag: Zope-3x-branch
testDirectivesXML.py testXML.py
Log Message:
Fixed tests that tested error formatting to reflect recent formatting
improvements.
Jim was bad and forgot to tun all tests. Thanks to Martijn Peters for
pointing this out.
=== Zope3/lib/python/Zope/Configuration/tests/testDirectivesXML.py 1.1.2.1 => 1.1.2.2 ===
self.assertEqual(
str(v),
- "InvalidDirective: (None, u'test2:protect') at line 11 "
+ "\nInvalidDirective: (None, u'test2:protect')\nat line 11 "
"column 16 of <string>")
else:
self.fail('Should have raised ZopeXMLConfigurationError')
=== Zope3/lib/python/Zope/Configuration/tests/testXML.py 1.1.2.5 => 1.1.2.6 ===
self.assertEqual(
str(v),
- "InvalidDirective: (None, u'test2:protect') at line 10 "
+ "\nInvalidDirective: (None, u'test2:protect')\nat line 10 "
"column 16 of <string>")
else:
self.fail('Should have raised ZopeXMLConfigurationError')